Remember selection when exiting to Title Screen
This commit is contained in:
@@ -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'));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user