mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-14 00:23:29 +01:00
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.
This commit is contained in:
@@ -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]"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user