mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 12:41:09 +01:00
[NON-MODULAR] Actually Actually Fix Invisible Languages for Good! (#15647)
Actually actually fix invisible languages for good!
This commit is contained in:
@@ -114,8 +114,9 @@ GLOBAL_LIST_EMPTY(preferences_datums)
|
||||
if(loaded_preferences_successfully)
|
||||
if(load_character())
|
||||
// SKYRAT EDIT START - Sanitizing languages
|
||||
for(var/datum/language/lang_path as anything in languages)
|
||||
if(initial(lang_path.secret))
|
||||
for(var/lang_path as anything in languages)
|
||||
var/datum/language/language = GLOB.language_datum_instances[lang_path]
|
||||
if(!language || language.secret)
|
||||
languages.Remove(lang_path)
|
||||
// SKYRAT EDIT END
|
||||
return // SKYRAT EDIT - Don't remove this. Just don't. Nothing is worth forced random characters.
|
||||
|
||||
Reference in New Issue
Block a user