From 8f1d7eb16bc012d5485be445014d531e8ec7388a Mon Sep 17 00:00:00 2001 From: Tigercat2000 Date: Thu, 21 Jan 2016 20:53:03 -0800 Subject: [PATCH] Fixes #3301 For some reason, the s_tone of limbs was left out of the icon_key, therefore making update_body use a cached image (I still question if these actually help performance or worsen it) when it is not supposed to. --- code/modules/mob/living/carbon/human/update_icons.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/modules/mob/living/carbon/human/update_icons.dm b/code/modules/mob/living/carbon/human/update_icons.dm index 528f89cc38e..3239023f911 100644 --- a/code/modules/mob/living/carbon/human/update_icons.dm +++ b/code/modules/mob/living/carbon/human/update_icons.dm @@ -274,6 +274,8 @@ var/global/list/damage_icon_parts = list() icon_key += "[part.dna.GetUIValue(DNA_UI_SKIN_TONE)]" if(part.s_col) icon_key += "[rgb(part.s_col[1], part.s_col[2], part.s_col[3])]" + if(part.s_tone) + icon_key += "[part.s_tone]" icon_key = "[icon_key][husk ? 1 : 0][fat ? 1 : 0][hulk ? 1 : 0][skeleton ? 1 : 0]"