mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-11-09 00:04:42 +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":
|
||||
FlxG.resetState();
|
||||
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