1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-11-27 09:13:18 +00:00

resolve merge conflict with ActualMandM/pause

This commit is contained in:
MtH 2021-03-30 16:47:50 +02:00
commit 720ae5d3cc

View file

@ -169,7 +169,10 @@ class PauseSubState extends MusicBeatSubstate
FlxG.resetState(); FlxG.resetState();
case "Exit to menu": case "Exit to menu":
PlayState.deathCounter = 0; PlayState.deathCounter = 0;
FlxG.switchState(new MainMenuState()); if (PlayState.isStoryMode)
FlxG.switchState(new StoryMenuState());
else
FlxG.switchState(new FreeplayState());
} }
} }