Skip to content

Commit

Permalink
Fix fluff type check for map overrides
Browse files Browse the repository at this point in the history
  • Loading branch information
Drulikar committed Sep 12, 2023
1 parent bb17b58 commit 6ac3631
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/game/objects/items.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6ac3631

Please sign in to comment.