[MODULAR] Actually Fix Invisible Selected Languages (#15259)

* AAAAAAAAA

* Oops!

Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com>

Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com>
This commit is contained in:
RimiNosha
2022-08-04 17:15:09 +01:00
committed by GitHub
co-authored by GoldenAlpharex
parent ee8bae8751
commit aec243d06c
2 changed files with 5 additions and 9 deletions
+5 -1
View File
@@ -113,7 +113,11 @@ GLOBAL_LIST_EMPTY(preferences_datums)
var/loaded_preferences_successfully = load_preferences()
if(loaded_preferences_successfully)
if(load_character())
return
// SKYRAT EDIT START - Sanitizing languages
for(var/datum/language/lang_path as anything in languages)
if(initial(lang_path.secret))
languages.Remove(lang_path)
// SKYRAT EDIT END
//we couldn't load character data so just randomize the character appearance + name
randomise_appearance_prefs() //let's create a random character then - rather than a fat, bald and naked man.
if(C)