Skip to content

Commit

Permalink
be more generous with letting the window load first
Browse files Browse the repository at this point in the history
  • Loading branch information
harryob committed Dec 12, 2024
1 parent 7b3493f commit daf9b4b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/controllers/subsystem/init/lobby_art.dm
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ SUBSYSTEM_DEF(lobby_art)
continue

var/datum/tgui/ui = SStgui.get_open_ui(player, player)
if(ui && player.lobby_window && player.lobby_window.status == TGUI_WINDOW_READY)
if(ui && player.lobby_window && player.lobby_window.status > TGUI_WINDOW_CLOSED)
continue

log_tgui(player, "Reinitialized [player.client.ckey]'s lobby window: [ui ? "ui" : "no ui"], status: [player.lobby_window?.status].", "lobby_art/Fire")
Expand All @@ -62,7 +62,7 @@ SUBSYSTEM_DEF(lobby_art)
continue

var/datum/tgui/ui = SStgui.get_open_ui(player, player)
if(ui && player.lobby_window && player.lobby_window.status == TGUI_WINDOW_READY)
if(ui && player.lobby_window && player.lobby_window.status > TGUI_WINDOW_CLOSED)
continue

initialize_queue += player
Expand Down

0 comments on commit daf9b4b

Please sign in to comment.