From 6ac3631eefe3ad702ce65ef811a8e6a3b00df43e Mon Sep 17 00:00:00 2001 From: Drulikar Date: Mon, 11 Sep 2023 17:11:26 -0700 Subject: [PATCH] Fix fluff type check for map overrides --- code/game/objects/items.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/objects/items.dm b/code/game/objects/items.dm index f497bc20ba83..6826847d2e02 100644 --- a/code/game/objects/items.dm +++ b/code/game/objects/items.dm @@ -229,7 +229,7 @@ item, and will change the skin to whatever you specify here. You can also manually override the icon with a unique skin if wanted, for the outlier cases. Override_icon_state should be a list.*/ /obj/item/proc/select_gamemode_skin(expected_type, list/override_icon_state, list/override_protection) - if(type == expected_type && !istype(src, /obj/item/clothing/suit/storage/marine/fluff) && !istype(src, /obj/item/clothing/head/helmet/marine/fluff) && !istype(src, /obj/item/clothing/under/marine/fluff)) + if(type == expected_type && !findtext("[type]", "fluff")) var/new_icon_state var/new_protection var/new_item_state