GPU Lightning Weapons
This commit is contained in:
parent
bb297bf84c
commit
8d10e33db0
26 changed files with 1163 additions and 876 deletions
|
|
@ -177,7 +177,13 @@ public class ActionGameManager : MonoBehaviour
|
|||
|
||||
_input.Global.Dock.performed += context =>
|
||||
{
|
||||
if (CurrentShip.Parent == null) Dock();
|
||||
if (CurrentShip == null)
|
||||
{
|
||||
ConfirmationDialog.Clear();
|
||||
ConfirmationDialog.Title.text = "Can't undock. You dont have a ship!";
|
||||
ConfirmationDialog.Show();
|
||||
}
|
||||
else if (CurrentShip.Parent == null) Dock();
|
||||
else Undock();
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue