summaryrefslogtreecommitdiff
path: root/scripts/Entities/Actions/MeleeAction.cs
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/Entities/Actions/MeleeAction.cs')
-rw-r--r--scripts/Entities/Actions/MeleeAction.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Entities/Actions/MeleeAction.cs b/scripts/Entities/Actions/MeleeAction.cs
index fcd8368..5e53ec7 100644
--- a/scripts/Entities/Actions/MeleeAction.cs
+++ b/scripts/Entities/Actions/MeleeAction.cs
@@ -49,7 +49,7 @@ public partial class MeleeAction : DirectionalAction
}
MessageLogData.Instance.AddMessage(attackDesc);
- Actor.Energy -= Cost;
+ Actor.Energy -= cost;
return true;
}
}