From 081fd99d04341c9b6bcf9019dfb884f655187752 Mon Sep 17 00:00:00 2001 From: lustlion Date: Mon, 7 Mar 2022 03:58:01 +0100 Subject: [PATCH] fix editor not being able to exit --- code/editor.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/editor.lua b/code/editor.lua index 6595584..99db961 100644 --- a/code/editor.lua +++ b/code/editor.lua @@ -114,7 +114,7 @@ function stepEditor() end if Keybind:checkPressed(Keybind.debug.editor) then - editor_mode = editor_mode + editor_mode = not editor_mode createTileObjects() end end