GPU Lightning Weapons

This commit is contained in:
Reinier Vens 2021-02-05 03:21:15 +00:00
commit 8d10e33db0
26 changed files with 1163 additions and 876 deletions

View file

@ -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();
};