Skip to content

Commit

Permalink
Increment gameversion number to avoid loading errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Alberth289346 committed Dec 11, 2016
1 parent 7acdbb9 commit 7d24f38
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CorsixTH/Lua/app.lua
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ local runDebugger = dofile "run_debugger"
-- Increment each time a savegame break would occur
-- and add compatibility code in afterLoad functions

local SAVEGAME_VERSION = 116
local SAVEGAME_VERSION = 117

class "App"

Expand Down
2 changes: 1 addition & 1 deletion CorsixTH/Lua/dialogs/fullscreen/graphs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ function UIGraphs:close()
end

function UIGraphs:afterLoad(old, new)
if old < 60 then
if old < 117 then
self:close()
end
end

0 comments on commit 7d24f38

Please sign in to comment.