death now cancels effects
This commit is contained in:
parent
9be6a3a169
commit
5c33aacf7f
5 changed files with 66 additions and 34 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue