mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-28 19:11:37 +00:00
Fixes decapitation runtime spam.
The stumps got no eyes.
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user