1
0
mirror of https://github.com/soarqin/DSP_Mods.git synced 2026-03-22 19:13:27 +08:00

minor fixes

This commit is contained in:
2026-03-11 19:26:40 +08:00
parent a9ad961bd3
commit 669ce9f88c
3 changed files with 11 additions and 6 deletions

View File

@@ -394,8 +394,9 @@ public class DysonSpherePatch : PatchImpl<DysonSpherePatch>
}
swarm.RemoveSolarSail(index);
}),
// return false;
new CodeInstruction(OpCodes.Ldc_I4_0),
// return true;
// to avoid conflict with QuickAbsorbPatch
new CodeInstruction(OpCodes.Ldc_I4_1),
new CodeInstruction(OpCodes.Ret)
);
return matcher.InstructionEnumeration();