checking autismbots

This commit is contained in:
jenz 2025-11-16 14:54:47 +01:00
parent 72bd0c3ce5
commit 60d4ba7828

View File

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