Login screen init change (#18244)

* test for early loading

* double the wait

---------

Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
Kashargul
2025-08-15 23:27:55 +02:00
committed by GitHub
co-authored by Cameron Lennox
parent 0484bda457
commit 8fde0f3556
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -2,7 +2,7 @@ SUBSYSTEM_DEF(lobby_monitor)
name = "Lobby Art"
init_stage = INITSTAGE_EARLY
flags = SS_NO_INIT
wait = 1 SECOND
wait = 2 SECONDS
runlevels = ALL
/// The clients who we've waited a [wait] duration to start working. If they haven't, we reboot them
@@ -20,7 +20,7 @@ SUBSYSTEM_DEF(lobby_monitor)
continue
log_tgui(player, "Reinitialized [player.client.ckey]'s lobby window: [ui ? "ui" : "no ui"], status: [player.lobby_window?.status].", "lobby_monitor/Fire")
addtimer(CALLBACK(src, PROC_REF(do_reinit), player), 0.5 SECONDS)
do_reinit(player)
var/initialize_queue = list()
for(var/mob/new_player/player as anything in new_players)
+1
View File
@@ -15,6 +15,7 @@ SUBSYSTEM_DEF(tgui)
wait = 9
flags = SS_NO_INIT
priority = FIRE_PRIORITY_TGUI
init_stage = INITSTAGE_EARLY
runlevels = RUNLEVEL_LOBBY | RUNLEVELS_DEFAULT
/// A list of UIs scheduled to process