Fixes Part Two

This commit is contained in:
Unknown
2019-05-02 03:47:11 -04:00
parent c50b5f5596
commit d22f668012
2 changed files with 30 additions and 29 deletions

View File

@@ -32,7 +32,8 @@
return inv_overlay return inv_overlay
/obj/item/clothing/accessory/proc/get_mob_overlay() /obj/item/clothing/accessory/proc/get_mob_overlay()
if(!mob_overlay || has_suit.loc != wearer) if(!istype(loc,/obj/item/clothing/)) //don't need special handling if it's worn as normal item.
return ..()
var/tmp_icon_state = "[overlay_state? "[overlay_state]" : "[icon_state]"]" var/tmp_icon_state = "[overlay_state? "[overlay_state]" : "[icon_state]"]"
if(ishuman(has_suit.loc)) if(ishuman(has_suit.loc))
wearer = has_suit.loc wearer = has_suit.loc

Binary file not shown.

Before

Width:  |  Height:  |  Size: 79 KiB

After

Width:  |  Height:  |  Size: 79 KiB