Attempts to fix simplemob pref loading

This commit is contained in:
Heroman
2022-09-18 21:09:17 +10:00
parent 607d730743
commit dd9dfb7940
+2 -2
View File
@@ -206,6 +206,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)
@@ -250,8 +252,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)