mirror of
https://github.com/soarqin/DSP_Mods.git
synced 2026-02-05 03:02:20 +08:00
removed useful code
This commit is contained in:
@@ -80,7 +80,6 @@ public static class DysonSpherePatch
|
|||||||
new CodeMatch(OpCodes.Call, AccessTools.Method(typeof(DysonNode), nameof(DysonNode.RecalcCpReq)))
|
new CodeMatch(OpCodes.Call, AccessTools.Method(typeof(DysonNode), nameof(DysonNode.RecalcCpReq)))
|
||||||
);
|
);
|
||||||
var labels = matcher.Labels;
|
var labels = matcher.Labels;
|
||||||
matcher.Labels = new List<Label>();
|
|
||||||
matcher.RemoveInstructions(2).Labels.AddRange(labels);
|
matcher.RemoveInstructions(2).Labels.AddRange(labels);
|
||||||
return matcher.InstructionEnumeration();
|
return matcher.InstructionEnumeration();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user