diff options
Diffstat (limited to 'scripts/actors/Enemy.cs')
| -rw-r--r-- | scripts/actors/Enemy.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/actors/Enemy.cs b/scripts/actors/Enemy.cs index 8cd3a74..19bcd2c 100644 --- a/scripts/actors/Enemy.cs +++ b/scripts/actors/Enemy.cs @@ -46,4 +46,10 @@ public partial class Enemy : Actor break; } } + + public override void Die() { + Soul.QueueFree(); + Soul = null; + base.Die(); + } } |
