mirror of
https://github.com/soarqin/DSP_Mods.git
synced 2025-12-09 14:13:31 +08:00
CheatEnabler and UXAssist new versions
This commit is contained in:
@@ -205,8 +205,9 @@ public static class DysonSpherePatch
|
||||
[HarmonyPatch(typeof(DysonSphere), nameof(DysonSphere.ResetNew))]
|
||||
private static void DysonSphere_ResetNew_Prefix(DysonSphere __instance)
|
||||
{
|
||||
if (_nodeForAbsorb == null) return;
|
||||
var starIndex = __instance.starData.index;
|
||||
if (_nodeForAbsorb[starIndex] == null) return;
|
||||
if (starIndex >= _nodeForAbsorb.Length || _nodeForAbsorb[starIndex] == null) return;
|
||||
_nodeForAbsorb[starIndex].Clear();
|
||||
_nodeForAbsorb[starIndex] = null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user