diff options
-rw-r--r-- | edit.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/edit.lua b/edit.lua index 9c527b4..5f53d2b 100644 --- a/edit.lua +++ b/edit.lua @@ -121,6 +121,8 @@ function edit.quit(State) -- make sure to save before quitting if State.next_save then save_to_disk(State) + -- give some time for the OS to flush everything to disk + love.timer.sleep(0.1) end end |