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

bug fix again

This commit is contained in:
2024-03-30 13:35:48 +08:00
parent 74e796431e
commit 357b2781a2

View File

@@ -660,9 +660,7 @@ public static class FactoryPatch
new CodeMatch(ci => ci.Branches(out thisIfBlockEntryLabel)), new CodeMatch(ci => ci.Branches(out thisIfBlockEntryLabel)),
new CodeMatch(ci => ci.IsLdarg()), new CodeMatch(ci => ci.IsLdarg()),
new CodeMatch(OpCodes.Ldfld), new CodeMatch(OpCodes.Ldfld),
new CodeMatch(OpCodes.Ldfld), new CodeMatch(OpCodes.Ldfld)
new CodeMatch(ci => ci.LoadsConstant(EMinerType.Oil)),
new CodeMatch(ci => ci.Branches(out _))
); );
ifBlockEntryLabel = thisIfBlockEntryLabel; ifBlockEntryLabel = thisIfBlockEntryLabel;