Fixes chest not being coloured by necrosis

Conflicts:
	code/modules/mob/living/carbon/human/update_icons.dm
This commit is contained in:
mwerezak
2014-07-28 20:51:04 -04:00
committed by ZomgPonies
parent bcbfb9d895
commit ac3c812f28
@@ -268,7 +268,7 @@ proc/get_damage_icon_part(damage_state, body_part)
icon_key = "[icon_key]0"
else if(part.status & ORGAN_ROBOT)
icon_key = "[icon_key]2"
else if(part.status & ORGAN_DEAD) //Do we even have necrosis in our current code? ~Z
else if(part.status & ORGAN_DEAD)
icon_key = "[icon_key]3"
else
icon_key = "[icon_key]1"
@@ -292,6 +292,10 @@ proc/get_damage_icon_part(damage_state, body_part)
var/datum/organ/external/chest = get_organ("chest")
base_icon = chest.get_icon(g,fat)
if(chest.status & ORGAN_DEAD)
base_icon.ColorTone(necrosis_color_mod)
base_icon.SetIntensity(0.7)
for(var/datum/organ/external/part in organs)
var/icon/temp //Hold the bodypart icon for processing.