checking autismbots
This commit is contained in:
parent
72bd0c3ce5
commit
60d4ba7828
@ -489,7 +489,7 @@ public void CheckPopulation()
|
|||||||
|
|
||||||
for(int i = 1; i <= MaxClients; i++)
|
for(int i = 1; i <= MaxClients; i++)
|
||||||
{
|
{
|
||||||
if(IsClientConnected(i) && IsFakeClient(i))
|
if(IsClientConnected(i) && (IsFakeClient(i) || IsClientAutismBot(i)))
|
||||||
iPlayers--;
|
iPlayers--;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -557,7 +557,7 @@ public void CheckPopulation()
|
|||||||
{
|
{
|
||||||
iFakesInTeamNeeded = (iFakesNeeded / 4);
|
iFakesInTeamNeeded = (iFakesNeeded / 4);
|
||||||
}
|
}
|
||||||
if (iFakesInTeamNeeded < 0)
|
if (iFakesInTeamNeeded < 0 || iPlayers < 10)
|
||||||
{
|
{
|
||||||
iFakesInTeamNeeded = 0;
|
iFakesInTeamNeeded = 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user