diff --git a/buildnumber.txt b/buildnumber.txt index a6ae6d78..41a1464b 100644 --- a/buildnumber.txt +++ b/buildnumber.txt @@ -1 +1 @@ -2206 \ No newline at end of file +2207 \ No newline at end of file diff --git a/source/funkin/desktop/DesktopMain.hx b/source/funkin/desktop/DesktopMain.hx index f5ee4c85..6800f098 100644 --- a/source/funkin/desktop/DesktopMain.hx +++ b/source/funkin/desktop/DesktopMain.hx @@ -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) {