summaryrefslogtreecommitdiff
path: root/scripts/actors/actions/MovementAction.cs
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/actors/actions/MovementAction.cs')
-rw-r--r--scripts/actors/actions/MovementAction.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/actors/actions/MovementAction.cs b/scripts/actors/actions/MovementAction.cs
index b37f9ae..6cec875 100644
--- a/scripts/actors/actions/MovementAction.cs
+++ b/scripts/actors/actions/MovementAction.cs
@@ -18,6 +18,7 @@ public partial class MovementAction : DirectionalAction
// Na maioria dos casos, essa condição nunca é verdadeira.
if (GetTargetActor() != null) return;
+ actor.Energy -= cost;
actor.Walk(Offset);
}
}