From c377ae9615903239b1ca0d91667cc49a13b404a3 Mon Sep 17 00:00:00 2001 From: LordME <58342752+TheLordME@users.noreply.github.com> Date: Wed, 31 Jul 2024 16:34:45 +0200 Subject: [PATCH] fixes some coats not having a sprite while the hood is up (#6624) ## About The Pull Request ## Why It's Good For The Game ## Changelog :cl: fix: fixed some hooded coats not being visble while the hood is up /:cl: --- code/modules/clothing/suits/hooded.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/clothing/suits/hooded.dm b/code/modules/clothing/suits/hooded.dm index 144e93e03b8b..2313d71f09f6 100644 --- a/code/modules/clothing/suits/hooded.dm +++ b/code/modules/clothing/suits/hooded.dm @@ -68,7 +68,7 @@ H.equip_to_slot_if_possible(hood, SLOT_ID_HEAD) hood_up = TRUE ADD_TRAIT(hood, TRAIT_ITEM_NODROP, CLOTHING_TRAIT) - icon_state = "[toggleicon]-t" + icon_state = ("[toggleicon]-t" in icon_states(icon)) ? "[toggleicon]-t" : toggleicon update_worn_icon() else RemoveHood()