diff --git a/projects/flixel-desktop-habit-puzzle-game/source/HabitState.kiss b/projects/flixel-desktop-habit-puzzle-game/source/HabitState.kiss index b69ddf85..8b4c3359 100644 --- a/projects/flixel-desktop-habit-puzzle-game/source/HabitState.kiss +++ b/projects/flixel-desktop-habit-puzzle-game/source/HabitState.kiss @@ -24,6 +24,9 @@ // Hold left-click to hide the habit text and see the image clearly: (when entryTexts (if FlxG.mouse.pressed (remove entryTexts) (add entryTexts))) + (when FlxG.keys.justPressed.ESCAPE + (Sys.exit 0)) + // drag along connected pieces (when draggingSprite (let [dx (- draggingSprite.x draggingLastPos.x)