From 52c32a24044aa574c9e7bf7aa4e2499349cc36b2 Mon Sep 17 00:00:00 2001 From: Matheus Date: Thu, 18 Sep 2025 16:06:41 -0300 Subject: Preparativos para a apresentação MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/Time/TurnManager.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts/Time/TurnManager.cs') 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, -- cgit v1.2.3