only add once.

This commit is contained in:
Ghommie
2019-10-28 01:26:41 +01:00
parent cfa3a4b5eb
commit 9f0e534a55
+4 -4
View File
@@ -510,8 +510,8 @@
auxmarking += image('modular_citadel/icons/mob/markings_notmammals.dmi', "husk_[I]", -aux_layer, image_dir)
else
auxmarking += image(body_markings_icon, "[body_markings]_[I]", -aux_layer, image_dir)
. += aux
. += auxmarking
. += aux
. += auxmarking
else
limb.icon = icon
@@ -524,13 +524,13 @@
for(var/I in aux_icons)
var/aux_layer = aux_icons[I]
aux += image(limb.icon, "[I]", -aux_layer, image_dir)
. += aux
if(!isnull(aux_marking))
if(species_id == "husk")
auxmarking += image('modular_citadel/icons/mob/markings_notmammals.dmi', "husk_[I]", -aux_layer, image_dir)
else
auxmarking += image(body_markings_icon, "[body_markings]_[I]", -aux_layer, image_dir)
. += auxmarking
. += auxmarking
. += aux
if(!isnull(body_markings))
if(species_id == "husk")