Merge pull request #13757 from Heroman3003/pref-loading-client

Attempts to fix simplemob pref loading
This commit is contained in:
Casey
2022-09-18 10:05:11 -04:00
committed by CHOMPStation2
parent dbf648d4c0
commit 7168f8ef99

View File

@@ -208,6 +208,8 @@
prefs.last_id = computer_id //these are gonna be used for banning
prefs.client = src // Only relevant if we reloaded it from the global list, otherwise prefs/New sets it
hook_vr("client_new",list(src)) //VOREStation Code. For now this only loads vore prefs, so better put before mob.Login() call but after normal prefs are loaded.
. = ..() //calls mob.Login()
prefs.sanitize_preferences()
if(prefs)
@@ -252,8 +254,6 @@
if(config.aggressive_changelog)
src.changes()
hook_vr("client_new",list(src)) //VOREStation Code
if(config.paranoia_logging)
var/alert = FALSE //VOREStation Edit start.
if(isnum(player_age) && player_age == 0)