summaryrefslogtreecommitdiff
path: root/scripts/Entities/Actions
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/Entities/Actions')
-rw-r--r--scripts/Entities/Actions/EscapeAction.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/Entities/Actions/EscapeAction.cs b/scripts/Entities/Actions/EscapeAction.cs
index cc5d289..f0b1ed5 100644
--- a/scripts/Entities/Actions/EscapeAction.cs
+++ b/scripts/Entities/Actions/EscapeAction.cs
@@ -7,6 +7,7 @@ public partial class EscapeAction(Actor actor) : Action(actor)
{
public override bool Perform()
{
+ Actor.MapData.SaveGame();
SignalBus.Instance.EmitSignal(SignalBus.SignalName.EscapeRequested);
return false;
}