mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-26 13:39:16 +01:00
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:
co-authored by
Cameron Lennox
parent
0484bda457
commit
8fde0f3556
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user