mirror of
https://github.com/Citadel-Station-13/Citadel-Station-13-RP.git
synced 2026-08-24 09:46:37 +01:00
Client Initializations Updates (#6822)
This commit is contained in:
@@ -50,7 +50,8 @@ GLOBAL_LIST_EMPTY(client_data)
|
||||
|
||||
is_guest = IsGuestKey(key)
|
||||
|
||||
INVOKE_ASYNC(src, PROC_REF(load_account_age))
|
||||
spawn(0)
|
||||
load_account_age()
|
||||
|
||||
var/list/the_cheese_touch = CONFIG_GET(keyed_list/shadowban)
|
||||
var/client/C = GLOB.directory[src.ckey]
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user