well it works
This commit is contained in:
parent
6ff1531662
commit
af9b1a7448
11 changed files with 563 additions and 13 deletions
|
|
@ -53,13 +53,13 @@ public class TurnHandler : MonoBehaviour
|
|||
return;
|
||||
}
|
||||
}
|
||||
currentGameState = GameState.EnemyTurn;
|
||||
if (!enemyEntities[0])
|
||||
if (enemyEntities.Count == 0)
|
||||
{
|
||||
EndRound();
|
||||
}
|
||||
else
|
||||
{
|
||||
currentGameState = GameState.EnemyTurn;
|
||||
enemyEntities[0].StartTurn();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue