diff options
Diffstat (limited to 'scripts/Game.cs')
| -rw-r--r-- | scripts/Game.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/Game.cs b/scripts/Game.cs index 5c18cd7..818b064 100644 --- a/scripts/Game.cs +++ b/scripts/Game.cs @@ -44,8 +44,9 @@ public partial class Game : Node { private void HandleEnemyTurns() { foreach (Actor actor in Map.Map_Data.Actors) { if (actor is Player) continue; - - GD.Print($"O {actor.ActorName} foi cuckado e não tem como agir."); + if (actor is Enemy enemy && enemy.IsAlive) { + enemy.Soul.Perform(); + } } } } |
