minor fixes

This commit is contained in:
soarqin committed 2026-03-11 19:26:40 +08:00
1 parent a9ad961bd3
commit 669ce9f88c
3 files changed
+11 -6

No files matched your search

+3 -2
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();