diff --git a/UXAssist/Patches/DysonSpherePatch.cs b/UXAssist/Patches/DysonSpherePatch.cs index 40c937e..f3a97cf 100644 --- a/UXAssist/Patches/DysonSpherePatch.cs +++ b/UXAssist/Patches/DysonSpherePatch.cs @@ -477,6 +477,16 @@ public class DysonSpherePatch: PatchImpl private class OnlyConstructNodes: PatchImpl { protected override void OnEnable() + { + RecheckDysonSphereAutoNodes(); + } + + protected override void OnDisable() + { + RecheckDysonSphereAutoNodes(); + } + + private static void RecheckDysonSphereAutoNodes() { var spheres = GameMain.data?.dysonSpheres; if (spheres == null) return;