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

code cleanup

This commit is contained in:
2023-12-14 21:55:44 +08:00
parent 51f35bb573
commit aae771d730
6 changed files with 10 additions and 7 deletions

View File

@@ -58,7 +58,7 @@ public static class BeltFix
[HarmonyPatch(typeof(ConnGizmoRenderer), "Update")]
public static IEnumerable<CodeInstruction> ConnGizmoRenderer_Update_Transpiler(IEnumerable<CodeInstruction> instructions, ILGenerator generator)
{
bool lastIsLdcI4_3 = false;
var lastIsLdcI4_3 = false;
foreach (var instr in instructions)
{
if (lastIsLdcI4_3)