Fixes a runtime that can be caused by headless IPCs

This commit is contained in:
Citinited
2018-03-02 21:39:48 +00:00
parent 1ef0c8e2c0
commit c6cc30ff8c
@@ -947,6 +947,8 @@
/datum/species/machine/handle_death(var/mob/living/carbon/human/H)
var/obj/item/organ/external/head/head_organ = H.get_organ("head")
if(!head_organ)
return
head_organ.h_style = "Bald"
head_organ.f_style = "Shaved"
spawn(100)