Fixes #8702 properly.

This commit is contained in:
Zuhayr
2015-04-01 17:57:28 -07:00
parent 3cc34ab55e
commit 84b903cf69
8 changed files with 23 additions and 5 deletions
+1
View File
@@ -235,6 +235,7 @@ var/list/organ_cache = list()
owner.internal_organs_by_name[organ_tag] = null
owner.internal_organs_by_name -= organ_tag
owner.internal_organs_by_name -= null
owner.internal_organs -= src
var/obj/item/organ/external/affected = owner.get_organ(parent_organ)
+1
View File
@@ -1056,6 +1056,7 @@ Note that amputating the affected organ does in fact remove the infection from t
/obj/item/organ/external/head/removed()
if(owner)
name = "[owner.real_name]'s head"
owner.u_equip(owner.glasses)
owner.u_equip(owner.head)
owner.u_equip(owner.l_ear)
+2
View File
@@ -16,6 +16,8 @@ var/global/list/limb_icon_cache = list()
/obj/item/organ/external/proc/sync_colour_to_human(var/mob/living/carbon/human/human)
s_tone = null
s_col = null
if(status & ORGAN_ROBOT)
return
if(!isnull(human.s_tone) && (human.species.flags & HAS_SKIN_TONE))
s_tone = human.s_tone
if(human.species.flags & HAS_SKIN_COLOR)