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

fix escorts

parent 00243f50
No related branches found
No related tags found
No related merge requests found
......@@ -370,8 +370,8 @@ function _M:close()
self.changed = true
end
function _M:reopen()
if not self.closed then return end
function _M:reopen(force)
if not force and not self.closed then return end
self:redisplay()
self.closed = nil
self.changed = true
......
......@@ -916,8 +916,8 @@ function _M:changeLevelReal(lev, zone, params)
if self.level.data.day_night then self.state:dayNightCycle() end
if not recreate_nothing then
-- self.level.map:redisplay() -- not needed, reopen doest it
self.level.map:reopen()
--self.level.map:redisplay() -- not needed, reopen doest it
self.level.map:reopen(true)
if force_recreate then self.level.map:recreate() end
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