mirror of
https://github.com/soarqin/DSP_Mods.git
synced 2026-02-04 15:12:17 +08:00
code cleanup
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -18,7 +18,7 @@ public class Patch : BaseUnityPlugin, IModCanSave
|
||||
BepInEx.Logging.Logger.CreateLogSource(PluginInfo.PLUGIN_NAME);
|
||||
|
||||
private const ushort SaveVersion = 1;
|
||||
private static bool _initialized = false;
|
||||
private static bool _initialized;
|
||||
public static Cfg Cfg = new();
|
||||
private static Cfg _oldCfg;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user