1
0
mirror of https://github.com/soarqin/DSP_Mods.git synced 2025-12-09 02:53:29 +08:00

CheatEnabler: fix a warning bug

This commit is contained in:
2025-04-19 01:18:21 +08:00
parent 1d01fdbd15
commit d867bca1ba

View File

@@ -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)