mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2025-04-21 19:31:52 -04:00
Remember selection when exiting to Title Screen
This commit is contained in:
parent
07c872c775
commit
bf36a86877
1 changed files with 1 additions and 0 deletions
|
@ -466,6 +466,7 @@ class MainMenuState extends MusicBeatState
|
|||
|
||||
if (controls.BACK && menuItems.enabled && !menuItems.busy)
|
||||
{
|
||||
rememberedSelectedIndex = menuItems.selectedIndex;
|
||||
FlxG.switchState(() -> new TitleState());
|
||||
FunkinSound.playOnce(Paths.sound('cancelMenu'));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue