mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-11-27 09:13:18 +00:00
restart on pause menu
This commit is contained in:
parent
2462ae555e
commit
3a1a410fe2
|
@ -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