Skip to content

Commit

Permalink
overlay
Browse files Browse the repository at this point in the history
  • Loading branch information
silicons committed Jun 25, 2023
1 parent bf75e70 commit 86d48d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/clothing/clothing_accessories.dm
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
if(istype(src, /obj/item/clothing/accessory))
var/obj/item/clothing/accessory/A = src
old = A.get_mob_overlay()
if(old.plane == FLOAT_PLANE)
if(!isnull(old) && old.plane == FLOAT_PLANE)
old.layer = layer_used + BODY_LAYER + 0.1
return old
var/list/mutable_appearance/rendered = render_mob_appearance(M, accessory_render_specific? resolve_inventory_slot_meta(/datum/inventory_slot_meta/abstract/use_one_for_accessory) : slot_meta, bodytype)
Expand Down

0 comments on commit 86d48d0

Please sign in to comment.