1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-11-30 10:44:37 +00:00

restart on pause menu

This commit is contained in:
Cameron Taylor 2020-11-17 18:20:27 -08:00
parent 2462ae555e
commit 3a1a410fe2

View file

@ -64,6 +64,8 @@ class PauseSubState extends MusicBeatSubstate
{ {
case "Resume": case "Resume":
close(); close();
case "Restart Song":
FlxG.resetState();
case "Exit to menu": case "Exit to menu":
FlxG.switchState(new MainMenuState()); FlxG.switchState(new MainMenuState());
} }