Merge pull request #8965 from Atermonera/fix_hooded_suit_kit

Suit kits no longer set item_state on hooded clothes
This commit is contained in:
Atermonera
2023-02-21 21:20:56 -08:00
committed by GitHub
-2
View File
@@ -129,10 +129,8 @@
suit.desc = new_desc
suit.icon_state = "[new_icon]_suit"
suit.toggleicon = "[new_icon]_suit"
suit.item_state = "[new_icon]_suit"
var/obj/item/clothing/head/hood/S = suit.hood
S.icon_state = "[new_icon]_helmet"
S.item_state = "[new_icon]_helmet"
if(new_icon_file)
suit.icon = new_icon_file
S.icon = new_icon_file