summaryrefslogtreecommitdiff
path: root/scripts/Time
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/Time')
-rw-r--r--scripts/Time/TurnManager.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/Time/TurnManager.cs b/scripts/Time/TurnManager.cs
index 3d55fbb..6c59ca8 100644
--- a/scripts/Time/TurnManager.cs
+++ b/scripts/Time/TurnManager.cs
@@ -73,9 +73,10 @@ public partial class TurnManager(Map.Map map) : RefCounted
// TODO: Isto é feio, lembre-me de mudar isto antes da entrega final.
if (action is SpellAction)
{
- GD.Print(actionResult);
SignalBus.Instance.EmitSignal(SignalBus.SignalName.PlayerSpellCast, actionResult);
}
+ } else if (playerActionQueue.Count > 0 && playerActionQueue[0] is EscapeAction esc){
+ esc.Perform();
}
// Se a ação do jogador for gratuita ou se o jogador ainda possuir energia,