Remove scavenge patch

It broke game.. :(
This commit is contained in:
2024-09-28 20:05:31 +02:00
parent 4cf2eb9e9b
commit 761b524f20

View File

@@ -179,10 +179,13 @@ namespace InfectionFreeZone {
} }
} }
[HarmonyPostfix] // [HarmonyPostfix]
[HarmonyPatch(typeof(ScavengeWork), MethodType.Constructor, // [HarmonyPatch(typeof(ScavengeWork), MethodType.Constructor,
typeof(float), typeof(List<ResourceCrate>))] // typeof(float), typeof(List<ResourceCrate>))]
public static void PostfixScavengeWork(ref ScavengeWork __instance) { 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) if (Main.resourceScavengingMultiplierDebug.Value)
Console.WriteLine($"Scavenge work created"); Console.WriteLine($"Scavenge work created");
if (Main.resourceGatheringMultiplier.Value > 0) { if (Main.resourceGatheringMultiplier.Value > 0) {