summaryrefslogtreecommitdiff
path: root/scripts/Entities/Actors/Enemy.cs
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/Entities/Actors/Enemy.cs')
-rw-r--r--scripts/Entities/Actors/Enemy.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/Entities/Actors/Enemy.cs b/scripts/Entities/Actors/Enemy.cs
index 4994534..b4f5e68 100644
--- a/scripts/Entities/Actors/Enemy.cs
+++ b/scripts/Entities/Actors/Enemy.cs
@@ -52,11 +52,11 @@ public partial class Enemy : Actor, ISaveable
}
}
- public override void Die()
+ public override void Die(bool inLoading)
{
Soul.QueueFree();
Soul = null;
- base.Die();
+ base.Die(inLoading);
}
public new Dictionary<string, Variant> GetSaveData()