From 6ebf4cfdd2292924057364b57159c884b9a7ba67 Mon Sep 17 00:00:00 2001 From: Alphas00 <154434082+Alphas00@users.noreply.github.com> Date: Fri, 26 Jul 2024 11:40:29 +0200 Subject: [PATCH] XWG Normalizers tweak XWG now stops its functions if a character is wearing a normalizing item --- GainStation13/code/mechanics/fatness.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GainStation13/code/mechanics/fatness.dm b/GainStation13/code/mechanics/fatness.dm index 988a8cac..f2d3a65e 100644 --- a/GainStation13/code/mechanics/fatness.dm +++ b/GainStation13/code/mechanics/fatness.dm @@ -135,7 +135,7 @@ GLOBAL_LIST_INIT(uncapped_resize_areas, list(/area/bridge, /area/crew_quarters, if(client?.prefs?.max_weight) //Check their prefs fatness_over = min(fatness_over, (client?.prefs?.max_weight - 1)) //And make sure it's not above their preferred max fatness = fatness_real + fatness_over //Then, make their current fatness the sum of their real plus/minus the calculated amount - if(client?.prefs?.weight_gain_extreme) + if(client?.prefs?.weight_gain_extreme && !normalized) xwg_resize() /mob/living/carbon/human/handle_breathing(times_fired)