From b53cd96c8cddea520807eda7936ca713426bc850 Mon Sep 17 00:00:00 2001 From: kyunkyunkyun <120701975+kyunkyunkyun@users.noreply.github.com> Date: Wed, 24 Sep 2025 18:16:59 +0500 Subject: [PATCH] fix (#30452) --- code/modules/clothing/clothing.dm | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/code/modules/clothing/clothing.dm b/code/modules/clothing/clothing.dm index db75fbc0059..154379811a5 100644 --- a/code/modules/clothing/clothing.dm +++ b/code/modules/clothing/clothing.dm @@ -40,8 +40,7 @@ /obj/item/clothing/update_icon_state() if(!can_toggle) return - /// Done as such to not break chameleon gear since you can't rely on initial states - icon_state = "[replacetext("[icon_state]", "_up", "")][up ? "_up" : ""]" + icon_state = "[initial(icon_state)][up ? "_up" : ""]" return TRUE /obj/item/clothing/proc/weldingvisortoggle(mob/user) //proc to toggle welding visors on helmets, masks, goggles, etc. @@ -378,9 +377,6 @@ /// if this hat can be a hat of a hat. Hat^2 var/can_be_hat = TRUE -/obj/item/clothing/head/update_icon_state() - if(..()) - worn_icon_state = "[replacetext("[worn_icon_state]", "_up", "")][up ? "_up" : ""]" /obj/item/clothing/head/AltShiftClick(mob/user) if(user.stat || HAS_TRAIT(user, TRAIT_HANDS_BLOCKED) || !Adjacent(user))