temporary desktop exit

This commit is contained in:
WizardMantis441
2023-01-29 20:43:19 -06:00
parent 224d43b384
commit ff907a0f19
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -1 +1 @@
2206
2207
+3
View File
@@ -94,6 +94,9 @@ class DesktopMain extends MusicBeatState {
windows.add(new Window(new EditorPlayState()));
FlxG.sound.enableVolumeChanges = !(currentFocus is IDesktopInputObject);
// TEMPORARY ESCAPE KEY UNTIL TASKBAR IS ADDED
if (FlxG.keys.justPressed.ESCAPE) FlxG.switchState(new funkin.menus.MainMenuState());
}
public function openWindow(content:WindowContent) {