diff --git a/1.4/Assemblies/PerformanceFish.dll b/1.4/Assemblies/PerformanceFish.dll index aae97d6..deecc48 100644 Binary files a/1.4/Assemblies/PerformanceFish.dll and b/1.4/Assemblies/PerformanceFish.dll differ diff --git a/Source/PerformanceFish/JobSystem/WorkGiver_DoBillOptimization.cs b/Source/PerformanceFish/JobSystem/WorkGiver_DoBillOptimization.cs index 8976557..a75348d 100644 --- a/Source/PerformanceFish/JobSystem/WorkGiver_DoBillOptimization.cs +++ b/Source/PerformanceFish/JobSystem/WorkGiver_DoBillOptimization.cs @@ -51,6 +51,9 @@ public class WorkGiver_DoBillOptimization : ClassWithFishPatches var bill = thingValidator.Bill; if (HasNoFilters(bill) // apparently applies to a rim reborn benches? +#if V1_4 + || bill.billStack?.billGiver is Building_MechGestator +#endif || (BlackListedModExtensions.Exists(b => b != null) && IsBlackListed(bill))) // <-- Fuck these too { list = GetDefaultList(r); @@ -401,11 +404,12 @@ public class WorkGiver_DoBillOptimization : ClassWithFishPatches public override Delegate TargetMethodGroup => WorkGiver_DoBill.TryFindBestIngredientsInSet_NoMixHelper; public static void Prefix(ref bool alreadySorted, Bill? bill) - => alreadySorted = bill?.billStack is { } stack + => alreadySorted = alreadySorted + || (bill?.billStack is { } stack #if V1_4 && stack.billGiver is not Building_MechGestator #endif - ; + ); public static CodeInstructions? Transpiler(CodeInstructions codes, MethodBase method) {