mirror of
https://github.com/soarqin/DSP_Mods.git
synced 2026-11-19 17:05:20 +08:00
CheatEnabler: fix a warning bug
This commit is contained in:
1 parent
1d01fdbd15
commit
d867bca1ba
1 file changed
+2
-1
@@ -235,7 +235,8 @@ public class FactoryPatch: PatchImpl<FactoryPatch>
|
||||
matcher.Repeat(m =>
|
||||
{
|
||||
var label1 = generator.DefineLabel();
|
||||
m.Advance(1).RemoveInstructions(2).InsertAndAdvance(
|
||||
m.Advance(3).InsertAndAdvance(
|
||||
new CodeInstruction(OpCodes.Ldarg_0),
|
||||
Transpilers.EmitDelegate((WarningSystem w) =>
|
||||
{
|
||||
if (NoConditionEnabled.Value)
|
||||
|
||||
Reference in new issue
Block a user