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;
12
12
import funkin .backend .system .framerate .Framerate ;
13
13
import funkin .backend .system .interfaces .IBeatReceiver ;
14
14
import funkin .backend .system .interfaces .IBeatCancellableReceiver ;
15
+ import funkin .menus .MainMenuState ;
15
16
import funkin .options .PlayerSettings ;
16
17
17
18
/**
@@ -166,6 +167,11 @@ class MusicBeatState extends FlxState implements IBeatCancellableReceiver
166
167
FlxG .resetState ();
167
168
}
168
169
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
+
169
175
if (subState != null )
170
176
subState .tryUpdate (elapsed );
171
177
}
You can’t perform that action at this time.
0 commit comments