summaryrefslogtreecommitdiff
path: root/scripts/Time/TurnManager.cs
diff options
context:
space:
mode:
authorMatheus <matheus.guedes.mg.m@gmail.com>2025-09-01 19:41:25 -0300
committerMatheus <matheus.guedes.mg.m@gmail.com>2025-09-01 19:41:25 -0300
commit2023ac3fa6477142299115b056b4ad380a9a9f7a (patch)
tree7584324f71e3a3a1853240042f956298c1c8cf0b /scripts/Time/TurnManager.cs
parent2d0139c3275d5c0bdaedc23d38da4d744870020d (diff)
Implementado sistema de ações gratuitas.
Diffstat (limited to 'scripts/Time/TurnManager.cs')
-rw-r--r--scripts/Time/TurnManager.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/Time/TurnManager.cs b/scripts/Time/TurnManager.cs
index af721ee..cbf1176 100644
--- a/scripts/Time/TurnManager.cs
+++ b/scripts/Time/TurnManager.cs
@@ -63,6 +63,7 @@ public partial class TurnManager : RefCounted
if (Player.Energy <= 0) {
// Depois computamos os turnos dos outros atores.
HandleEnemyTurns();
+ map.UpdateFOV(Player.GridPosition);
}
// Por fim, se o jogador mudou de lugar, atualizamos seu campo de visão.
if (Player.GridPosition != previousPlayerPos) {