mini fix for averagehours
This commit is contained in:
parent
2e1691e0de
commit
67d512830a
@ -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 (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;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user