death now cancels effects

This commit is contained in:
Rendo 2025-07-24 00:51:13 +05:00
commit 5c33aacf7f
5 changed files with 66 additions and 34 deletions

View file

@ -140,7 +140,7 @@ public partial class LevelRunner : Node
zombie.HasBeenKilled += OnLastZombieKilled;
}
}
private void OnLastZombieKilled(RuntimeZombieData who)
private void OnLastZombieKilled(Entity who)
{
aliveZombies -= 1;
if (aliveZombies > 0) return;