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
|
sHuman.real_name = real_name
|
||||||
concrete_outfit.equip(sHuman, TRUE)
|
concrete_outfit.equip(sHuman, TRUE)
|
||||||
client?.prefs.copy_to(sHuman)
|
client?.prefs.copy_to(sHuman)
|
||||||
|
sHuman.add_language(client?.prefs.language)
|
||||||
sHuman.dna.UpdateSE()
|
sHuman.dna.UpdateSE()
|
||||||
sHuman.dna.UpdateUI()
|
sHuman.dna.UpdateUI()
|
||||||
sHuman.ckey = ckey
|
sHuman.ckey = ckey
|
||||||
|
|||||||
@@ -670,8 +670,7 @@
|
|||||||
if(prefs.language)
|
if(prefs.language)
|
||||||
chosen_language = all_languages["[prefs.language]"]
|
chosen_language = all_languages["[prefs.language]"]
|
||||||
if(chosen_language)
|
if(chosen_language)
|
||||||
if(chosen_language.flags & WHITELISTED)
|
new_character.add_language("[prefs.language]")
|
||||||
new_character.add_language("[prefs.language]")
|
|
||||||
if(ticker.random_players || appearance_isbanned(src)) //disabling ident bans for now
|
if(ticker.random_players || appearance_isbanned(src)) //disabling ident bans for now
|
||||||
new_character.setGender(pick(MALE, FEMALE))
|
new_character.setGender(pick(MALE, FEMALE))
|
||||||
prefs.real_name = random_name(new_character.gender, new_character.species.name)
|
prefs.real_name = random_name(new_character.gender, new_character.species.name)
|
||||||
|
|||||||
Reference in New Issue
Block a user