fix(uxassist): honor saved building options at startup

This commit is contained in:
soarqin committed 2026-10-10 23:45:16 +08:00
1 parent 6845b0c56f
commit 6a292e0816
4 files changed
+8 -8

No files matched your search

+2 -2
View File
@@ -163,13 +163,13 @@ public static class FactoryPatch
BuildingBufferPatch.TweakBuildingBuffer.Enable(TweakBuildingBufferEnabled.Value);
BuildToolPatch.PressShiftToTakeWholeBeltItems.Enable(PressShiftToTakeWholeBeltItemsEnabled.Value);
BuildToolPatch.Enable(true);
BuildToolPatch.EnableAlwaysOnPatches(true);
UpdateTankFastFillInAndTakeOutMultiplierRealValue();
}
public static void Uninit()
{
BuildToolPatch.Enable(false);
BuildToolPatch.EnableAlwaysOnPatches(false);
BuildToolPatch.PressShiftToTakeWholeBeltItems.Enable(false);
BuildingBufferPatch.TweakBuildingBuffer.Enable(false);