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