From 761b524f201fac90f02cee980d116db0c6cd2f05 Mon Sep 17 00:00:00 2001 From: PhatPhuckDave Date: Sat, 28 Sep 2024 20:05:31 +0200 Subject: [PATCH] Remove scavenge patch It broke game.. :( --- .../InfectionFreeZone/InfectionFreeZone.cs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Projects/InfectionFreeZone/InfectionFreeZone/InfectionFreeZone.cs b/Projects/InfectionFreeZone/InfectionFreeZone/InfectionFreeZone.cs index 6624260..ec55f5c 100644 --- a/Projects/InfectionFreeZone/InfectionFreeZone/InfectionFreeZone.cs +++ b/Projects/InfectionFreeZone/InfectionFreeZone/InfectionFreeZone.cs @@ -179,10 +179,13 @@ namespace InfectionFreeZone { } } - [HarmonyPostfix] - [HarmonyPatch(typeof(ScavengeWork), MethodType.Constructor, - typeof(float), typeof(List))] + // [HarmonyPostfix] + // [HarmonyPatch(typeof(ScavengeWork), MethodType.Constructor, + // typeof(float), typeof(List))] public static void PostfixScavengeWork(ref ScavengeWork __instance) { + // This is saved to save file... + // So every time it's fucking modified + // Fuck me if (Main.resourceScavengingMultiplierDebug.Value) Console.WriteLine($"Scavenge work created"); if (Main.resourceGatheringMultiplier.Value > 0) {