removed useful code

This commit is contained in:
soarqin committed 2023-10-16 02:59:14 +08:00
1 parent 185682bcda
commit 6ea66f787d
1 file changed
-1
-1
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();
}