From 1ebcb4953662117aded3941bff868f14006be033 Mon Sep 17 00:00:00 2001 From: Soar Qin Date: Mon, 6 May 2024 18:26:30 +0800 Subject: [PATCH] WIP --- UXAssist/FactoryPatch.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/UXAssist/FactoryPatch.cs b/UXAssist/FactoryPatch.cs index 2301bc7..d3a8e8f 100644 --- a/UXAssist/FactoryPatch.cs +++ b/UXAssist/FactoryPatch.cs @@ -52,6 +52,7 @@ public static class FactoryPatch QuickBuildAndDismantleLab.Enable(QuickBuildAndDismantleLabsEnabled.Value); ProtectVeinsFromExhaustion.Enable(ProtectVeinsFromExhaustionEnabled.Value); DoNotRenderEntities.Enable(DoNotRenderEntitiesEnabled.Value); + DragBuildPowerPoles.Enable(true); _factoryPatch ??= Harmony.CreateAndPatchAll(typeof(FactoryPatch)); } @@ -70,6 +71,7 @@ public static class FactoryPatch QuickBuildAndDismantleLab.Enable(false); ProtectVeinsFromExhaustion.Enable(false); DoNotRenderEntities.Enable(false); + DragBuildPowerPoles.Enable(false); _factoryPatch?.UnpatchSelf(); _factoryPatch = null; @@ -1527,7 +1529,6 @@ public static class FactoryPatch } } - private static class DragBuildPowerPoles { private static Harmony _patch;