TO SQUASH: Ball reset.
This commit is contained in:
@@ -272,8 +272,6 @@ public class LevelEnder : MonoBehaviour
|
||||
musicManager.PauseMusic();
|
||||
|
||||
yield return new WaitForSeconds(1.0f);
|
||||
|
||||
player.OnLevelEnd();
|
||||
|
||||
// Reenable spawners.
|
||||
multiplierSpawner.StartSpawning();
|
||||
@@ -304,7 +302,10 @@ public class LevelEnder : MonoBehaviour
|
||||
levelEndTally.enabled = false;
|
||||
levelEndTallyBackground.enabled = false;
|
||||
|
||||
// TODO: Reset balls.
|
||||
// Reset.
|
||||
player.OnLevelEnd();
|
||||
ballSpawner.ResetBalls();
|
||||
worldFiller.ClearWalls();
|
||||
|
||||
// Restart music.
|
||||
musicManager.ResumeMusic();
|
||||
|
||||
Reference in New Issue
Block a user