mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 02:09:41 +00:00
Merge pull request #2668 from CHOMPStationBot/upstream-merge-11257
[MIRROR] Attempt to further fix missing languages
This commit is contained in:
@@ -28,7 +28,10 @@ SUBSYSTEM_DEF(character_setup)
|
||||
var/datum/preferences/prefs = save_queue[save_queue.len]
|
||||
save_queue.len--
|
||||
|
||||
if(!QDELETED(prefs))
|
||||
// Can't save prefs without client, because the sanitize functions will be
|
||||
// unable to validate their whitelist status due to being unable to check
|
||||
// 'holder' admin status, etc. Will result in Bad Times.
|
||||
if(!QDELETED(prefs) && prefs.client)
|
||||
prefs.save_preferences()
|
||||
|
||||
if(MC_TICK_CHECK)
|
||||
|
||||
Reference in New Issue
Block a user