mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-16 17:44:25 +01:00
This reverts commit f577c148a2.
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
on_removed()
|
||||
return ..()
|
||||
|
||||
/obj/item/clothing/accessory/proc/get_inv_overlay() //Note: This is currently working. Good.
|
||||
/obj/item/clothing/accessory/proc/get_inv_overlay()
|
||||
if(!inv_overlay)
|
||||
var/tmp_icon_state = "[overlay_state? "[overlay_state]" : "[icon_state]"]"
|
||||
if(icon_override)
|
||||
@@ -44,10 +44,14 @@
|
||||
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/mob/living/carbon/human/H
|
||||
if(ishuman(has_suit.loc))
|
||||
H = has_suit.loc
|
||||
if(!H || !ishuman(H))
|
||||
wearer = WEAKREF(has_suit.loc)
|
||||
else
|
||||
wearer = null
|
||||
|
||||
wearer?.resolve()
|
||||
var/mob/living/carbon/human/H = wearer
|
||||
if(!ishuman(H))
|
||||
return
|
||||
|
||||
if(istype(loc,/obj/item/clothing/under))
|
||||
|
||||
Reference in New Issue
Block a user