[FIX] Reskinning the tacticool envirosuit helmet now properly updates its sprite. (#30998)

* Tactical envirosuit helmet icon_state properly updates on reskin

* Revert "Tactical envirosuit helmet icon_state properly updates on reskin"

This reverts commit c4d10881b2.

* Reskinning tactical envirosuit now updates icon_state

---------

Co-authored-by: adrermail@gmail.com <adrermail@gmail.com>
This commit is contained in:
Chap
2025-11-15 21:00:11 +00:00
committed by GitHub
co-authored by adrermail@gmail.com <adrermail@gmail.com>
parent bf92b4ae44
commit c9cd22f47b
@@ -318,17 +318,20 @@
name = initial(name)
desc = initial(desc)
base_icon_state = initial(base_icon_state)
icon_state = initial(icon_state)
light_icon = initial(light_icon)
if("Knight")
name = "knight envirosuit helmet"
desc = "A plasmaman envirohelm designed in the shape of a knight helm."
base_icon_state = "knight_envirohelm"
icon_state = "knight_envirohelm"
visor_icon = "knight_envisor"
light_icon = "knight_enlight"
if("Skull")
name = "skull envirosuit helmet"
desc = "A plasmaman envirohelm designed in the shape of a skull."
base_icon_state = "skull_envirohelm"
icon_state = "skull_envirohelm"
visor_icon = "skull_envisor"
light_icon = "skull_enlight"
update_icon()