mini fix for averagehours

This commit is contained in:
jenz 2023-09-09 15:51:55 +02:00
parent 8f0e8de8c3
commit 44e43e5d8c

View File

@ -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;
}