Merge pull request #4964 from CHOMPStation2/upstream-merge-13757

[MIRROR] Attempts to fix simplemob pref loading
This commit is contained in:
Nadyr
2022-09-18 20:53:22 -04:00
committed by GitHub
+2 -2
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)