Remove scavenge patch
It broke game.. :(
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user