Fix human appearance randomness in spawners. (#19561)

This commit is contained in:
warriorstar-orion
2022-11-03 17:59:30 +00:00
committed by GitHub
parent 00e33dd91a
commit 12c873d816
3 changed files with 7 additions and 9 deletions
+6 -8
View File
@@ -237,15 +237,13 @@
D.f_style = random_facial_hair_style(gender, D.dna.species.name)
D.facial_colour = rand_hex_color()
if(skin_tone)
H.change_skin_tone(skin_tone)
H.s_tone = skin_tone
else
H.change_skin_tone(random_skin_tone())
H.change_skin_color(rand_hex_color())
H.update_hair()
H.update_fhair()
H.update_body()
H.update_dna()
H.regenerate_icons()
H.s_tone = random_skin_tone()
H.skin_colour = rand_hex_color()
H.update_body(rebuild_base = TRUE)
if(outfit)
var/static/list/slots = list("uniform", "r_hand", "l_hand", "suit", "shoes", "gloves", "ears", "glasses", "mask", "head", "belt", "r_pocket", "l_pocket", "back", "id", "neck", "backpack_contents", "suit_store")
for(var/slot in slots)