about summary refs log tree commit diff stats
path: root/main.lua
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2024-01-12 03:51:34 -0800
committerKartik K. Agaram <vc@akkartik.com>2024-01-12 03:51:34 -0800
commit4121613fc678d71acaa6213300dac3c321530589 (patch)
tree1f1361dbe2f7cfac820a59ce2c155ec75671e5a5 /main.lua
parent5d4fd4aa93918ae2139a581bae4d9f9579359281 (diff)
downloadlines.love-4121613fc678d71acaa6213300dac3c321530589.tar.gz
don't save settings on error in source editor
Diffstat (limited to 'main.lua')
-rw-r--r--main.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.lua b/main.lua
index 82a8f2d..b40ddf2 100644
--- a/main.lua
+++ b/main.lua
@@ -331,6 +331,7 @@ function App.wheelmoved(dx,dy)
 end
 
 function love.quit()
+  if Disable_all_quit_handlers then return end
   if current_app_is_warning() then return end
   if Current_app == 'run' then
     local source_settings = Settings.source