Skip to content

Commit

Permalink
Close progress report
Browse files Browse the repository at this point in the history
  • Loading branch information
tobylane committed Oct 26, 2024
1 parent 83d85c4 commit 9c2c5ef
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 @@ -29,7 +29,7 @@ local runDebugger = corsixth.require("run_debugger")
-- and add compatibility code in afterLoad functions
-- Recommended: Also replace/Update the summary comment

local SAVEGAME_VERSION = 205 -- Prevent staff grab spamming fix
local SAVEGAME_VERSION = 206 -- Add support for new win and lose criteria

class "App"

Expand Down
2 changes: 1 addition & 1 deletion CorsixTH/Lua/dialogs/fullscreen/progress_report.lua
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ function UIProgressReport:draw(canvas, x, y)
end

function UIProgressReport:afterLoad(old, new)
if old < 188 then
if old < 206 then
self:close()
end

Expand Down

0 comments on commit 9c2c5ef

Please sign in to comment.