File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ import funkin.backend.system.GraphicCacheSprite;
1212import funkin .backend .system .framerate .Framerate ;
1313import funkin .backend .system .interfaces .IBeatReceiver ;
1414import funkin .backend .system .interfaces .IBeatCancellableReceiver ;
15+ import funkin .menus .MainMenuState ;
1516import funkin .options .PlayerSettings ;
1617
1718/**
@@ -166,6 +167,11 @@ class MusicBeatState extends FlxState implements IBeatCancellableReceiver
166167 FlxG .resetState ();
167168 }
168169
170+ if (FlxG .keys .justPressed .F1 && FlxG .keys .pressed .CONTROL && FlxG .keys .pressed .SHIFT ) {
171+ Logs .trace (" Returning to Main Menu..." , INFO , YELLOW );
172+ FlxG .switchState (new MainMenuState ());
173+ }
174+
169175 if (subState != null )
170176 subState .tryUpdate (elapsed );
171177 }
You can’t perform that action at this time.
0 commit comments