mini fix for averagehours
This commit is contained in:
parent
8f0e8de8c3
commit
44e43e5d8c
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user