asteroids-advanced
asteroids-advanced copied to clipboard
LevelManager bug
It spawns new asteroids before all of the old ones are killed.
As @NaveTK said, this happens because we spawn the new asteroids at the end of a frame while the LevelManager checks the number of asteroids after the last asteroid is removed but before new ones are added.