summaryrefslogtreecommitdiff
path: root/scripts/Entities/Actions/MovementAction.cs
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/Entities/Actions/MovementAction.cs')
-rw-r--r--scripts/Entities/Actions/MovementAction.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Entities/Actions/MovementAction.cs b/scripts/Entities/Actions/MovementAction.cs
index 0ac842c..f78d95d 100644
--- a/scripts/Entities/Actions/MovementAction.cs
+++ b/scripts/Entities/Actions/MovementAction.cs
@@ -23,7 +23,7 @@ public partial class MovementAction : DirectionalAction
if (GetTarget() != null) return true;
Actor.Walk(Offset);
- Actor.Energy -= Cost;
+ Actor.Energy -= cost;
return true;
}