From d5d06b08abaf42278611bde4d75fa5806e077c58 Mon Sep 17 00:00:00 2001 From: FernandoJ8 <80640114+FernandoJ8@users.noreply.github.com> Date: Sat, 18 Jun 2022 22:45:55 +0200 Subject: [PATCH] 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> --- code/modules/admin/create_mob.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/admin/create_mob.dm b/code/modules/admin/create_mob.dm index 90fe3927c53..5232fcec34e 100644 --- a/code/modules/admin/create_mob.dm +++ b/code/modules/admin/create_mob.dm @@ -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()]"