summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/GUI/MainMenu.cs1
-rw-r--r--scripts/Time/TurnManager.cs3
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/GUI/MainMenu.cs b/scripts/GUI/MainMenu.cs
index 15ccc33..74592c2 100644
--- a/scripts/GUI/MainMenu.cs
+++ b/scripts/GUI/MainMenu.cs
@@ -30,7 +30,6 @@ public partial class MainMenu : Control
private void OnNewGameButtonPressed()
{
- GD.Print("Signal EMIT!");
EmitSignal(SignalName.GameRequest, false);
}
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,