From 44e43e5d8c239e3c60d4b524c9e087c7c5e2539b Mon Sep 17 00:00:00 2001 From: jenz Date: Sat, 9 Sep 2023 15:51:55 +0200 Subject: [PATCH] mini fix for averagehours --- discord_verificiation/scripting/unloze_player_time.sp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord_verificiation/scripting/unloze_player_time.sp b/discord_verificiation/scripting/unloze_player_time.sp index e56793db..f7b49e49 100644 --- a/discord_verificiation/scripting/unloze_player_time.sp +++ b/discord_verificiation/scripting/unloze_player_time.sp @@ -151,7 +151,7 @@ public int GetAveragePlayerActiveTimeServer() { if (IsValidClient(i) && !IsFakeClient(i) && !IsClientSourceTV(i) && !is_bot_player[i] && PM_IsPlayerSteam(i) && GetClientIdleTime(i) < g_iPlayerAFKTime) { - if (active_player_count <= g_iPlayerCount_excludeSpec && GetClientTeam(i) == CS_TEAM_SPECTATOR) + if (active_player_count <= g_iPlayerCount_excludeSpec && GetClientTeam(i) != CS_TEAM_T && GetClientTeam(i) != CS_TEAM_CT) { continue; }