mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-12-28 15:57:42 +00:00
Fix a bug where replaying a level makes a pink screen
This commit is contained in:
parent
33982b140a
commit
a0c4499b03
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue