Fixes decapitation runtime spam.

The stumps got no eyes.
This commit is contained in:
Verkister
2021-02-14 22:56:44 +02:00
committed by GitHub
parent 462f96163e
commit b20c5effef

View File

@@ -238,7 +238,8 @@ var/global/list/damage_icon_parts = list() //see UpdateDamageIcon()
icon_key += "[r_eyes], [g_eyes], [b_eyes]"
var/obj/item/organ/external/head/head = organs_by_name[BP_HEAD]
if(head)
icon_key += "[head.eye_icon]"
if(!istype(head, /obj/item/organ/external/stump))
icon_key += "[head.eye_icon]"
for(var/organ_tag in species.has_limbs)
var/obj/item/organ/external/part = organs_by_name[organ_tag]
if(isnull(part) || part.is_stump())