From ab211e164b41998bfcbe30912d0d32ed10625852 Mon Sep 17 00:00:00 2001 From: pubby Date: Mon, 4 Sep 2017 07:17:48 -0500 Subject: [PATCH] Fix kitty ear color (#30374) --- code/modules/clothing/head/misc_special.dm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/code/modules/clothing/head/misc_special.dm b/code/modules/clothing/head/misc_special.dm index 7dd09ceb104..b8718303403 100644 --- a/code/modules/clothing/head/misc_special.dm +++ b/code/modules/clothing/head/misc_special.dm @@ -129,13 +129,14 @@ dog_fashion = /datum/dog_fashion/head/kitty -/obj/item/clothing/head/kitty/equipped(mob/user, slot) - if(user && slot == slot_head) +/obj/item/clothing/head/kitty/equipped(mob/living/carbon/human/user, slot) + if(ishuman(user) && slot == slot_head) update_icon(user) + user.update_inv_head() //Color might have been changed by update_icon. ..() /obj/item/clothing/head/kitty/update_icon(mob/living/carbon/human/user) - if(istype(user)) + if(ishuman(user)) add_atom_colour("#[user.hair_color]", FIXED_COLOUR_PRIORITY) /obj/item/clothing/head/kitty/genuine