1
0
mirror of https://github.com/soarqin/DSP_Mods.git synced 2025-12-08 22:13:30 +08:00

removed useful code

This commit is contained in:
2023-10-16 02:59:14 +08:00
parent 185682bcda
commit 6ea66f787d

View File

@@ -80,7 +80,6 @@ public static class DysonSpherePatch
new CodeMatch(OpCodes.Call, AccessTools.Method(typeof(DysonNode), nameof(DysonNode.RecalcCpReq)))
);
var labels = matcher.Labels;
matcher.Labels = new List<Label>();
matcher.RemoveInstructions(2).Labels.AddRange(labels);
return matcher.InstructionEnumeration();
}