code cleanup

This commit is contained in:
soarqin committed 2023-12-14 21:55:44 +08:00
1 parent 51f35bb573
commit aae771d730
6 files changed
+10 -7

No files matched your search

+1 -1
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)