diff --git a/Lib/Assembly-CSharp-firstpass.dll b/Lib/Assembly-CSharp-firstpass.dll index 3ccacf87..e4d046d6 100644 Binary files a/Lib/Assembly-CSharp-firstpass.dll and b/Lib/Assembly-CSharp-firstpass.dll differ diff --git a/Lib/Assembly-CSharp-firstpass_public.dll b/Lib/Assembly-CSharp-firstpass_public.dll index 002bfddf..54d965aa 100644 Binary files a/Lib/Assembly-CSharp-firstpass_public.dll and b/Lib/Assembly-CSharp-firstpass_public.dll differ diff --git a/Lib/Assembly-CSharp.dll b/Lib/Assembly-CSharp.dll index 6c992691..3f2f88f8 100644 Binary files a/Lib/Assembly-CSharp.dll and b/Lib/Assembly-CSharp.dll differ diff --git a/Lib/Assembly-CSharp_public.dll b/Lib/Assembly-CSharp_public.dll index ab040014..8d3841eb 100644 Binary files a/Lib/Assembly-CSharp_public.dll and b/Lib/Assembly-CSharp_public.dll differ diff --git a/StockBugFix/StockBugsPatches.cs b/StockBugFix/StockBugsPatches.cs index 3efbe94f..a46d07db 100644 --- a/StockBugFix/StockBugsPatches.cs +++ b/StockBugFix/StockBugsPatches.cs @@ -775,29 +775,6 @@ internal static void Postfix(BuildingDef __result) { } } - /// - /// Applied to Substance to fix the freezing into debris temperature reset bug, by - /// actually using the set-temperature callback instead of modifying the internal - /// temperature (which is unused by sim chunks). - /// - [HarmonyPatch(typeof(Substance), nameof(Substance.SpawnResource))] - public static class Substance_SpawnResource_Patch { - private static void SetTemperature(PrimaryElement element, float value) { - if (value > 0.0f && value < Sim.MaxTemperature) - element.Temperature = value; - } - - /// - /// Transpiles SpawnResource to use the right temperature setter. - /// - internal static TranspiledMethod Transpiler(TranspiledMethod method) { - return PPatchTools.ReplaceMethodCallSafe(method, typeof(PrimaryElement). - GetPropertySafe(nameof(PrimaryElement.InternalTemperature), false). - GetSetMethod(true), typeof(Substance_SpawnResource_Patch).GetMethodSafe( - nameof(SetTemperature), true, typeof(PrimaryElement), typeof(float))); - } - } - /// /// Applied to Timelapser to squash a useless warning and fix timelapses not being saved. /// diff --git a/WorkshopProfiles/WorkshopProfiles.csproj b/WorkshopProfiles/WorkshopProfiles.csproj index 3ec4112f..f632219b 100644 --- a/WorkshopProfiles/WorkshopProfiles.csproj +++ b/WorkshopProfiles/WorkshopProfiles.csproj @@ -2,11 +2,11 @@ Workshop Profiles - 2.7.0.0 + 2.8.0.0 PeterHan.WorkshopProfiles Limits usage of most work buildings to the Duplicants specified on an access list. 2.1.0.0 - 493472 + 642443 Vanilla;Mergedown