From 880a21dde08b015ffabe83d5a7d664429185658a Mon Sep 17 00:00:00 2001 From: D1GQ Date: Tue, 17 Mar 2026 23:14:57 -0500 Subject: [PATCH] Only kick if below level in lobby --- src/Patches/Gameplay/Anticheat/CheckPlayerLevelPatch.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Patches/Gameplay/Anticheat/CheckPlayerLevelPatch.cs b/src/Patches/Gameplay/Anticheat/CheckPlayerLevelPatch.cs index 159c9d8..b3b597a 100644 --- a/src/Patches/Gameplay/Anticheat/CheckPlayerLevelPatch.cs +++ b/src/Patches/Gameplay/Anticheat/CheckPlayerLevelPatch.cs @@ -12,7 +12,7 @@ internal class CheckPlayerLevelPatch [HarmonyPostfix] private static void PlayerControl_FixedUpdate_Postfix(PlayerControl __instance) { - if (GameState.IsHost) + if (GameState.IsHost && GameState.IsLobby) { // Kick players below minimum level if (!__instance.IsLocalPlayer() && __instance.Data.PlayerLevel < BetterGameSettings.KickLevelBelow.GetInt())