Fix a bug where replaying a level makes a pink screen

This commit is contained in:
EliteMasterEric 2024-01-17 23:12:59 -05:00
parent 33982b140a
commit a0c4499b03

View file

@ -1354,6 +1354,7 @@ class PlayState extends MusicBeatSubState
function loadStage(id:String):Void function loadStage(id:String):Void
{ {
currentStage = StageRegistry.instance.fetchEntry(id); currentStage = StageRegistry.instance.fetchEntry(id);
currentStage.revive(); // Stages are killed and props destroyed when the PlayState is destroyed to save memory.
if (currentStage != null) if (currentStage != null)
{ {