mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-26 06:40:08 +01:00
[MIRROR] ehhh rid of that warning (#12396)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
co-authored by
Kashargul
parent
88cdc61213
commit
de1913c72a
@@ -26,7 +26,9 @@
|
||||
save_data["runechat_color"] = pref.runechat_color
|
||||
|
||||
/datum/category_item/player_setup_item/general/language/sanitize_character()
|
||||
#ifdef TESTING
|
||||
var/char_name = pref.read_preference(/datum/preference/name/real_name) || "-name not yet loaded-"
|
||||
#endif
|
||||
if(!islist(pref.alternate_languages))
|
||||
testing("LANGSANI: Sanitizing languages on [pref.client]'s character [char_name] because their character has no languages list")
|
||||
pref.alternate_languages = list()
|
||||
|
||||
Reference in New Issue
Block a user