minor afteload fix in world.lua (#2815)

This commit is contained in:
Artem Argus
2025-04-06 13:20:23 +03:00
committed by GitHub
parent b0c25e3f00
commit f1cb271240

View File

@@ -2425,6 +2425,9 @@ function World:afterLoad(old, new)
self:resetSideObjects()
end
if old < 132 then
self.app = self.ui.app
end
if old < 153 then
-- Set the new variable next_emergency_date
-- Also set the new variable next_emergency