diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2024-01-12 03:51:34 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2024-01-12 03:51:34 -0800 |
commit | 4121613fc678d71acaa6213300dac3c321530589 (patch) | |
tree | 1f1361dbe2f7cfac820a59ce2c155ec75671e5a5 /app.lua | |
parent | 5d4fd4aa93918ae2139a581bae4d9f9579359281 (diff) | |
download | lines.love-4121613fc678d71acaa6213300dac3c321530589.tar.gz |
don't save settings on error in source editor
Diffstat (limited to 'app.lua')
-rw-r--r-- | app.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app.lua b/app.lua index ac8e709..f59897c 100644 --- a/app.lua +++ b/app.lua @@ -53,7 +53,8 @@ function handle_error(err) App.undo_initialize() App.run_tests_and_initialize() else - if App.disable_tests then App.disable_tests() end + -- abort without running love.quit handler + Disable_all_quit_handlers = true love.event.quit() end end |