diff --git a/Assets/Scripts/ZombieSpawnerLogic.cs b/Assets/Scripts/ZombieSpawnerLogic.cs index 3161fdd..512c8f2 100644 --- a/Assets/Scripts/ZombieSpawnerLogic.cs +++ b/Assets/Scripts/ZombieSpawnerLogic.cs @@ -40,8 +40,5 @@ public class ZombieSpawnerLogic : MonoBehaviour _lastSpawn = Time.time; } - private void RemoveDestroyedZombies() - { - _spawns.RemoveAll(zombie => zombie == null); - } + private void RemoveDestroyedZombies() => _spawns.RemoveAll(zombie => zombie == null); }