From ae2e2389b2b0b8398fddca73cebbc5b15dd41be8 Mon Sep 17 00:00:00 2001 From: Kamay Xutax Date: Tue, 23 Jul 2024 05:10:32 +0200 Subject: [PATCH] Check for non-bot for out of sync --- game/server/cstrike/cs_player.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game/server/cstrike/cs_player.cpp b/game/server/cstrike/cs_player.cpp index 1f42025b0a..1f3277c367 100644 --- a/game/server/cstrike/cs_player.cpp +++ b/game/server/cstrike/cs_player.cpp @@ -609,7 +609,7 @@ void CCSPlayer::PlayerRunCommand( CUserCmd *ucmd, IMoveHelper *moveHelper ) // don't run commands in the future if (!IsEngineThreaded() && ((ucmd->tick_count > (gpGlobals->tickcount + sv_max_usercmd_future_ticks.GetInt())) - || ( ucmd->tick_count < (gpGlobals->tickcount - sv_max_usercmd_future_ticks.GetInt()) ))) + || ( ucmd->tick_count < (gpGlobals->tickcount - sv_max_usercmd_future_ticks.GetInt()) )) && !IsBot()) { DevMsg( "Client cmd out of sync (delta: %i, client: %i != server: %i).\n", ucmd->tick_count - gpGlobals->tickcount, ucmd->tick_count, gpGlobals->tickcount); return;