From e2f211fcb51f3fe256a796f9378ea1acb02592ef Mon Sep 17 00:00:00 2001 From: ajkroeg <50463892+ajkroeg@users.noreply.github.com> Date: Fri, 13 Jan 2023 21:27:14 -0500 Subject: [PATCH] disable unnecessary patch --- IRTweaks/IRTweaks/Modules/Misc/CheatDetection.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/IRTweaks/IRTweaks/Modules/Misc/CheatDetection.cs b/IRTweaks/IRTweaks/Modules/Misc/CheatDetection.cs index 2ca22f3..9888af3 100644 --- a/IRTweaks/IRTweaks/Modules/Misc/CheatDetection.cs +++ b/IRTweaks/IRTweaks/Modules/Misc/CheatDetection.cs @@ -362,6 +362,7 @@ public static void Prefix(SGBarracksAdvancementPanel __instance, Pilot ___curPil [HarmonyPatch(typeof(SGRoomController_Barracks), "LeaveRoom")] public static class SGRoomController_Barracks_Close_Patch { + static bool Prepare() => Mod.Config.CheatDetection.CheatDetection; public static void Postfix(SGRoomController_Barracks __instance) { var sim = UnityGameInstance.BattleTechGame.Simulation;