This commit is contained in:
timothyteakettle
2021-07-18 13:59:45 +01:00
parent a2a67e9a70
commit 4d1dad2e5b
3 changed files with 7 additions and 0 deletions

View File

@@ -871,6 +871,13 @@
else
limb.icon_state = "[body_zone]"
if(istype(/obj/item/bodypart/l_leg) || istype(/obj/item/bodypart/r_leg))
var/original_state = limb.icon_state
var/image/second_limb = image(layer = -BODYPARTS_LAYER, dir = image_dir)
second_limb.icon = icon
limb.icon_state = "[original_state]_front"
second_limb.icon_state = "[original_state]_behind"
if(aux_icons)
for(var/I in aux_icons)
var/aux_layer = aux_icons[I]