Skip to content

Commit

Permalink
fix(rig): incorrect display of helmet sprites
Browse files Browse the repository at this point in the history
  • Loading branch information
i1yadobr authored Oct 13, 2024
1 parent a68fbd2 commit dd15b11
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions code/modules/clothing/head.dm
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@
var/cache_key = "[light_overlay]_[species_name]"
if(on && light_overlay_cache[cache_key] && slot == slot_head_str)
ret.AddOverlays(light_overlay_cache[cache_key])
if(item_state_slots && item_state_slots[slot])
ret.icon_state = item_state_slots[slot]
else
ret.icon_state = icon_state
return ret

/obj/item/clothing/head/attack_self(mob/user)
Expand Down

0 comments on commit dd15b11

Please sign in to comment.