well it works

This commit is contained in:
reisenlol 2026-01-11 21:27:27 -08:00
parent 6ff1531662
commit af9b1a7448
No known key found for this signature in database
11 changed files with 563 additions and 13 deletions

View file

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