Skip to content
Snippets Groups Projects
Commit da60a92a authored by DarkGod's avatar DarkGod
Browse files

exit correctly

parent 4d70a725
No related branches found
No related tags found
No related merge requests found
......@@ -2042,7 +2042,7 @@ function _M:onExit()
-- savefile_pipe is created as a global by the engine
self:saveGame()
savefile_pipe:forceWait()
os.exit()
engine.GameTurnBased.onExit(self)
end
self.quit_dialog = nil
end)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment