resolve merge conflict with ActualMandM/pause

This commit is contained in:
MtH 2021-03-30 16:47:50 +02:00
commit d136168a5a
1 changed files with 4 additions and 1 deletions

View File

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