From f7701c65d63ec5edd11bce6723fcc08f72503a51 Mon Sep 17 00:00:00 2001 From: mochi <1496804+dearmochi@users.noreply.github.com> Date: Thu, 11 Nov 2021 22:52:47 +0100 Subject: [PATCH] Fixes hair for IPCs --- code/modules/mob/living/carbon/human/update_icons.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/mob/living/carbon/human/update_icons.dm b/code/modules/mob/living/carbon/human/update_icons.dm index 400c1f065c6..40dec488f86 100644 --- a/code/modules/mob/living/carbon/human/update_icons.dm +++ b/code/modules/mob/living/carbon/human/update_icons.dm @@ -370,7 +370,7 @@ GLOBAL_LIST_EMPTY(damage_icon_parts) var/mutable_appearance/MA = new() MA.appearance_flags = KEEP_TOGETHER MA.layer = -HAIR_LAYER - if(O.h_style && !(head?.flags & BLOCKHEADHAIR) && !ismachineperson(src)) + if(O.h_style && !(head?.flags & BLOCKHEADHAIR && !ismachineperson(src))) var/datum/sprite_accessory/hair/hair = GLOB.hair_styles_full_list[O.h_style] if(hair?.species_allowed && ((O.dna.species.name in hair.species_allowed) || (O.dna.species.bodyflags & ALL_RPARTS))) // Base hair