From c5f65590380830685f0efd92ebbce80b6fd6645f Mon Sep 17 00:00:00 2001 From: Heroman Date: Sat, 10 Sep 2022 20:37:58 +1000 Subject: [PATCH] Fixes Avida's hat not being equippable on earless people --- code/modules/vore/fluffstuff/custom_clothes_vr.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/vore/fluffstuff/custom_clothes_vr.dm b/code/modules/vore/fluffstuff/custom_clothes_vr.dm index cbd566cf1ab..b28d9d3f9eb 100644 --- a/code/modules/vore/fluffstuff/custom_clothes_vr.dm +++ b/code/modules/vore/fluffstuff/custom_clothes_vr.dm @@ -667,7 +667,7 @@ /obj/item/clothing/head/fluff/avida/mob_can_equip(var/mob/living/carbon/human/H, slot, disable_warning = 0) if(..()) - if(H.ear_style.name == "Bnnuy Ears"||H.ear_style.name == "Bnnuy Ears 2") //check if wearer's ear sprite is compatible with trimmed icon + if(H.ear_style && (H.ear_style.name == "Bnnuy Ears" || H.ear_style.name == "Bnnuy Ears 2")) //check if wearer's ear sprite is compatible with trimmed icon item_state = initial(src.item_state) else //if not, just use a generic icon item_state = "avidahatnoears"