From afd18b9d27c95b31e81be0b5c0a28cf498d0442e Mon Sep 17 00:00:00 2001 From: Ryan Mroczenski Date: Thu, 28 Aug 2025 11:12:07 -0500 Subject: [PATCH] fixes #68; bugged 120% penalty adjusted to intended 20% --- .../InterchangedIndustryLoader_ServiceInterchange_Patch.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/TweaksAndThings/Patches/InterchangedIndustryLoader_ServiceInterchange_Patch.cs b/TweaksAndThings/Patches/InterchangedIndustryLoader_ServiceInterchange_Patch.cs index 14660a5..7c5e0d3 100644 --- a/TweaksAndThings/Patches/InterchangedIndustryLoader_ServiceInterchange_Patch.cs +++ b/TweaksAndThings/Patches/InterchangedIndustryLoader_ServiceInterchange_Patch.cs @@ -48,8 +48,7 @@ internal class InterchangedIndustryLoader_ServiceInterchange_Patch if (num4 > 0) { var canAfford = shared.CanAfford(num4); - penalty = Mathf.CeilToInt(!canAfford ? num4 * 0.2f : 0); - __instance.Industry.ApplyToBalance(-num4, __instance.ledgerCategory, null, 0, quiet: true); + penalty += Mathf.CeilToInt(!canAfford ? num4 * 0.2f : 0); num2 += num4; num3++;