restart on pause menu

This commit is contained in:
Cameron Taylor committed 2020-11-17 18:20:27 -08:00
1 parent 050f4000fb
commit c48f957920
1 file changed
+2
+2
View File
@@ -64,6 +64,8 @@ class PauseSubState extends MusicBeatSubstate
{
case "Resume":
close();
case "Restart Song":
FlxG.resetState();
case "Exit to menu":
FlxG.switchState(new MainMenuState());
}