summaryrefslogtreecommitdiff
path: root/scripts/Entities/Actors/Enemy.cs
diff options
context:
space:
mode:
authorMatheus <matheus.guedes.mg.m@gmail.com>2025-10-27 18:46:33 -0300
committerMatheus <matheus.guedes.mg.m@gmail.com>2025-10-27 18:46:33 -0300
commite40bc38dcc17ebeb40722bedb94a6459e47b9aeb (patch)
treed23aa8a3e1cc2b792fda0b0173c6d58f51169e00 /scripts/Entities/Actors/Enemy.cs
parentf4ed469fc9eaeebf39093fbf6601581cc10c6e2f (diff)
fix:bug loading deaths
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()