Skip to content

Commit

Permalink
Fix update_icons
Browse files Browse the repository at this point in the history
  • Loading branch information
Drulikar committed Jun 9, 2024
1 parent 2b824c9 commit fa2d3a7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions code/modules/mob/living/carbon/human/update_icons.dm
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,8 @@ Applied by gun suicide and high impact bullet executions, removed by rejuvenate,
wear_id.screen_loc = hud_used.ui_datum.hud_slot_offset(wear_id, hud_used.ui_datum.ui_id)

var/obj/item/card/id/card = get_idcard()
if(!card)
return
if(!card.pinned_on_uniform || (w_uniform && w_uniform.displays_id && !(w_uniform.flags_jumpsuit & UNIFORM_JACKET_REMOVED)))
var/image/id_overlay = card.get_mob_overlay(src, WEAR_ID)
id_overlay.layer = -ID_LAYER
Expand Down

0 comments on commit fa2d3a7

Please sign in to comment.