At [C]:-1
At [C]:-1 yield
At /engine/Savefile.lua:106 saveObject
At /engine/Savefile.lua:198 saveGame
At /mod/dialogs/Quit.lua:33 ?
At /engine/
Is now what I get on save exiting a game.
I updated from a b9 module to a b12.
I've changed the following in the game.lua file.
Code: Select all
function _M:saveGame()
savefile_pipe:push(self.save_name, "game", self)
self.log("Saving game...")
end
function _M:tick()
if self.level then
self:targetOnTick()
engine.GameTurnBased.tick(self)
end
if self.paused and not savefile_pipe.saving then return true end
end