mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-09 16:14:13 +00:00
fix tertiary languages not working, fix alt-click spawned mobs not having correct tertiary language (#33765)
This commit is contained in:
@@ -687,6 +687,7 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
|
||||
sHuman.real_name = real_name
|
||||
concrete_outfit.equip(sHuman, TRUE)
|
||||
client?.prefs.copy_to(sHuman)
|
||||
sHuman.add_language(client?.prefs.language)
|
||||
sHuman.dna.UpdateSE()
|
||||
sHuman.dna.UpdateUI()
|
||||
sHuman.ckey = ckey
|
||||
|
||||
@@ -670,7 +670,6 @@
|
||||
if(prefs.language)
|
||||
chosen_language = all_languages["[prefs.language]"]
|
||||
if(chosen_language)
|
||||
if(chosen_language.flags & WHITELISTED)
|
||||
new_character.add_language("[prefs.language]")
|
||||
if(ticker.random_players || appearance_isbanned(src)) //disabling ident bans for now
|
||||
new_character.setGender(pick(MALE, FEMALE))
|
||||
|
||||
Reference in New Issue
Block a user