Skip to content

Commit

Permalink
Check if the player has missiles
Browse files Browse the repository at this point in the history
  • Loading branch information
NeuralDip committed Jan 29, 2018
1 parent 7e03aae commit 9884b4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Assets/Scripts/PlayGame.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public void IBeenClicked(string FromPlayer, string ToPlayer, int Index)
{
int EnemyIndex = MyGlobalController.PlayersNames.IndexOf(ToPlayer);
if (MyGlobalController.PlayersShips[EnemyIndex][Index] == GridElement.GridElementState.Invalid) return;
if (true)//HasLoadedMissile)
if (HasLoadedMissile)
{
HasLoadedMissile = false;
MyGlobalController.ConsoleMessage.text = "<color=red>You Have No Missile Loaded. Type 'reload' to Load One Now.</color>";
Expand Down

0 comments on commit 9884b4d

Please sign in to comment.