Randomize_human now applies a proper name to non-humans (#67820)

* fix

* Update code/modules/admin/create_mob.dm

Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>

* Update code/modules/admin/create_mob.dm

Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>

Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>
Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
This commit is contained in:
FernandoJ8
2022-06-18 16:45:55 -04:00
committed by GitHub
co-authored by Tom Mothblocks
parent 06162c2aa7
commit d5d06b08ab
+1 -1
View File
@@ -13,7 +13,7 @@
/proc/randomize_human(mob/living/carbon/human/human)
human.gender = pick(MALE, FEMALE)
human.physique = human.gender
human.real_name = random_unique_name(human.gender)
human.real_name = human.dna?.species.random_name(human.gender) || random_unique_name(human.gender)
human.name = human.real_name
human.underwear = random_underwear(human.gender)
human.underwear_color = "#[random_color()]"