mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2025-01-12 23:27:35 +00:00
restart on pause menu
This commit is contained in:
parent
f419163ccc
commit
a67689ab76
|
@ -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());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue