removed team check
This commit is contained in:
parent
9e69a92cc5
commit
f7263ffdef
@ -233,11 +233,6 @@ public int GetAveragePlayerActiveTimeServer()
|
|||||||
{
|
{
|
||||||
if (IsValidClient(i) && !IsFakeClient(i) && !IsClientSourceTV(i) && !is_bot_player[i] && GetClientIdleTime(i) < g_iPlayerAFKTime)
|
if (IsValidClient(i) && !IsFakeClient(i) && !IsClientSourceTV(i) && !is_bot_player[i] && GetClientIdleTime(i) < g_iPlayerAFKTime)
|
||||||
{
|
{
|
||||||
if (GetClientTeam(i) != CS_TEAM_T && GetClientTeam(i) != CS_TEAM_CT)
|
|
||||||
{
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
//re-introducing the hour capacity but putting it here is better than putting it at the mysql query
|
//re-introducing the hour capacity but putting it here is better than putting it at the mysql query
|
||||||
//at the time of making this change its only affeting me jenz and nobody else. this is meant to prevent
|
//at the time of making this change its only affeting me jenz and nobody else. this is meant to prevent
|
||||||
//the average hour from being too skewed by high playtime people.
|
//the average hour from being too skewed by high playtime people.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user