mirror of
https://github.com/soarqin/DSP_Mods.git
synced 2025-12-08 22:53:33 +08:00
CheatEnabler: fix a warning bug
This commit is contained in:
@@ -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