From cb97148d977fcd6b942e851ff0e73b50a27c041d Mon Sep 17 00:00:00 2001 From: AlManiak Date: Thu, 19 Sep 2024 18:16:51 +0200 Subject: [PATCH] used_icon_location should be used for all --- .../code/modules/clothing/under/jobs/modcivilian.dm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/GainStation13/code/modules/clothing/under/jobs/modcivilian.dm b/GainStation13/code/modules/clothing/under/jobs/modcivilian.dm index cfd5005b..128985a2 100644 --- a/GainStation13/code/modules/clothing/under/jobs/modcivilian.dm +++ b/GainStation13/code/modules/clothing/under/jobs/modcivilian.dm @@ -115,12 +115,12 @@ if(G.size <= 9+2) //check that the size is within accepted values, NOTE: these need to be removed later, better to cap organ sizes to begin with. Cap is 9 (max fat stage) + 2 (stuffed stages) . += mutable_appearance(used_icon_location, "belly_[size]", GENITALS_UNDER_LAYER) //add, from the clothes' icon file the overlay corresponding to that genital at that size and draw it onto the layer else //if not an expected size value, bigger than the max, default to max size - . += mutable_appearance(icon_location, "belly_11", GENITALS_UNDER_LAYER) + . += mutable_appearance(used_icon_location, "belly_11", GENITALS_UNDER_LAYER) else //use the alternative adjusted sprites if(G.size <= 9+2) - . += mutable_appearance(icon_location, "belly_[size]_d", GENITALS_UNDER_LAYER) + . += mutable_appearance(used_icon_location, "belly_[size]_d", GENITALS_UNDER_LAYER) else - . += mutable_appearance(icon_location, "belly_11_d", GENITALS_UNDER_LAYER) + . += mutable_appearance(used_icon_location, "belly_11_d", GENITALS_UNDER_LAYER) if(istype(O, /obj/item/organ/genital/anus)) //if that organ is the butt G = O if(suit_style == DIGITIGRADE_SUIT_STYLE) //check if the suit needs to use sprites for digitigrade characters