From 3c3d6f3497dd86fe0eddec5af42dce9a66900612 Mon Sep 17 00:00:00 2001 From: GinjaNinja32 Date: Sat, 27 Jun 2015 08:59:27 +0100 Subject: [PATCH] Un-breaks hats, semi-fixes #9873, partially reverts #9937 --- code/modules/mob/living/carbon/human/update_icons.dm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/code/modules/mob/living/carbon/human/update_icons.dm b/code/modules/mob/living/carbon/human/update_icons.dm index d25802b2f7..70ce9d9e03 100644 --- a/code/modules/mob/living/carbon/human/update_icons.dm +++ b/code/modules/mob/living/carbon/human/update_icons.dm @@ -698,8 +698,10 @@ proc/get_damage_icon_part(damage_state, body_part) //Determine the state to use var/t_state = head.icon_state - if(head.item_state) - t_state = head.item_state + if(istype(head, /obj/item/weapon/paper)) + /* I don't like this, but bandaid to fix half the hats in the game + being completely broken without re-breaking paper hats */ + t_state = "paper" //Create the image var/image/standing = image(icon = t_icon, icon_state = t_state)