Only kick if below level in lobby

This commit is contained in:
D1GQ committed 2026-03-17 23:14:57 -05:00
1 parent 48fc81fbbf
commit 880a21dde0
1 file changed
+1 -1
@@ -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())