ignore dismissed screens when checking for fort

develop
myk002 2021-05-07 15:19:34 -07:00
parent 7060c297a8
commit dfe4ddee96
No known key found for this signature in database
GPG Key ID: 8A39CA0FA0C16E78
1 changed files with 1 additions and 1 deletions

@ -166,7 +166,7 @@ local function ensure_fortress(config)
dfhack.gui.resetDwarfmodeView(true) dfhack.gui.resetDwarfmodeView(true)
return return
end end
local scr = dfhack.gui.getCurViewscreen() local scr = dfhack.gui.getCurViewscreen(true)
if focus_string == 'title' or if focus_string == 'title' or
focus_string == 'dfhack/lua/load_screen' then focus_string == 'dfhack/lua/load_screen' then
-- qerror()'s on falure -- qerror()'s on falure