From 8ad55b04731841f5149eaa849ce14245cdf1dcab Mon Sep 17 00:00:00 2001 From: Lachlan Leone Date: Sun, 8 Mar 2026 21:33:28 +1100 Subject: [PATCH] Remove debug messages --- Patches/SteamPlatformPatch.cs | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/Patches/SteamPlatformPatch.cs b/Patches/SteamPlatformPatch.cs index ebbcfc1..719bbb3 100644 --- a/Patches/SteamPlatformPatch.cs +++ b/Patches/SteamPlatformPatch.cs @@ -24,20 +24,7 @@ namespace MMOKitchen.Patches private static IEnumerable Transpiler(IEnumerable instructions) { CodeMatcher matcher = new(instructions); - - foreach (var instruction in matcher.InstructionEnumeration()) - { - if (instruction.operand != null) - { - Debug.Log($"{instruction.opcode} : {instruction.operand}"); - } - else - { - Debug.Log($"{instruction.opcode}"); - } - - } - + matcher.MatchForward(false, new CodeMatch(OpCodes.Ldc_I4_4), new CodeMatch(OpCodes.Call), new CodeMatch(OpCodes.Callvirt), new CodeMatch(OpCodes.Stloc_S), new CodeMatch(OpCodes.Ldloca_S), new CodeMatch(OpCodes.Call), new CodeMatch(OpCodes.Brtrue)) .Set(OpCodes.Ldc_I4, Mod.MaxPlayers);