Client Initializations Updates (#6822)

This commit is contained in:
silicons
2024-11-01 08:28:09 +01:00
committed by GitHub
parent a13176a1c2
commit b6c0db48ff
25 changed files with 450 additions and 378 deletions
+6 -3
View File
@@ -63,7 +63,9 @@ GLOBAL_LIST_EMPTY(player_data)
if(isnull(available))
available = FALSE
return FALSE
INVOKE_ASYNC(src, PROC_REF(load_blocking))
// make separate call chain; do not mess with client init
spawn(0)
load_blocking()
return TRUE
/datum/player_data/proc/load_blocking()
@@ -221,8 +223,9 @@ GLOBAL_LIST_EMPTY(player_data)
* async
*/
/datum/player_data/proc/log_connect()
set waitfor = FALSE
update_last_seen()
// make separate call chain; do not mess with client init
spawn(0)
update_last_seen()
/datum/player_data/proc/update_last_seen()
// don't interrupt