From 357b2781a2e4ad31fed564232757b77ed2c68c57 Mon Sep 17 00:00:00 2001 From: Soar Qin Date: Sat, 30 Mar 2024 13:35:48 +0800 Subject: [PATCH] bug fix again --- UXAssist/FactoryPatch.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/UXAssist/FactoryPatch.cs b/UXAssist/FactoryPatch.cs index f2574ff..12b12ef 100644 --- a/UXAssist/FactoryPatch.cs +++ b/UXAssist/FactoryPatch.cs @@ -660,9 +660,7 @@ public static class FactoryPatch new CodeMatch(ci => ci.Branches(out thisIfBlockEntryLabel)), new CodeMatch(ci => ci.IsLdarg()), new CodeMatch(OpCodes.Ldfld), - new CodeMatch(OpCodes.Ldfld), - new CodeMatch(ci => ci.LoadsConstant(EMinerType.Oil)), - new CodeMatch(ci => ci.Branches(out _)) + new CodeMatch(OpCodes.Ldfld) ); ifBlockEntryLabel = thisIfBlockEntryLabel;