mirror of
https://github.com/soarqin/DSP_Mods.git
synced 2025-12-08 20:53:28 +08:00
Update MechaDronesTweaks.cs
Changed skipstage1 matcher from operand = 2 to opcode = ldc_i4_1
This commit is contained in:
@@ -111,7 +111,7 @@ public static class MechaDronesTweaks
|
||||
matcher.MatchForward(false,
|
||||
new CodeMatch(OpCodes.Ldc_I4_1),
|
||||
new CodeMatch(OpCodes.Stfld, AccessTools.Field(typeof(DroneComponent), nameof(DroneComponent.stage)))
|
||||
).Operand = 2;
|
||||
).Opcode = OpCodes.Ldc_I4_2;
|
||||
return matcher.InstructionEnumeration();
|
||||
}
|
||||
|
||||
@@ -190,4 +190,4 @@ public static class MechaDronesTweaks
|
||||
);
|
||||
return matcher.InstructionEnumeration();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user