mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-11-27 09:13:18 +00:00
Pause menu goes back to the mode you came from
This commit is contained in:
parent
7abd7c5c2e
commit
8e0a286c01
|
@ -80,7 +80,10 @@ class PauseSubState extends MusicBeatSubstate
|
||||||
case "Restart Song":
|
case "Restart Song":
|
||||||
FlxG.resetState();
|
FlxG.resetState();
|
||||||
case "Exit to menu":
|
case "Exit to menu":
|
||||||
FlxG.switchState(new MainMenuState());
|
if (PlayState.isStoryMode)
|
||||||
|
FlxG.switchState(new StoryMenuState());
|
||||||
|
else
|
||||||
|
FlxG.switchState(new FreeplayState());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue