Merge pull request #14533 from VOREStation/upstream-merge-8965

[MIRROR] Suit kits no longer set item_state on hooded clothes
This commit is contained in:
Heroman3003
2023-02-26 10:58:30 +10:00
committed by GitHub
-2
View File
@@ -98,10 +98,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