mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2024-11-27 01:55:52 -05:00
Fix a bug where replaying a level makes a pink screen
This commit is contained in:
parent
33982b140a
commit
a0c4499b03
1 changed files with 1 additions and 0 deletions
|
@ -1354,6 +1354,7 @@ class PlayState extends MusicBeatSubState
|
|||
function loadStage(id:String):Void
|
||||
{
|
||||
currentStage = StageRegistry.instance.fetchEntry(id);
|
||||
currentStage.revive(); // Stages are killed and props destroyed when the PlayState is destroyed to save memory.
|
||||
|
||||
if (currentStage != null)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue