just directly spawn the autism bots in, dont wait for 3 players any more. also autism bots can be mother zombie again now with tier based sorting. they will be the last mother zombies always as highest tier

This commit is contained in:
jenz 2026-06-18 11:11:44 +02:00
parent 261abb0aad
commit edf047c0fc

View File

@ -363,15 +363,6 @@ public Action bot_check_connect(Handle timer, any data)
public Action check_team(Handle timer, any data) public Action check_team(Handle timer, any data)
{ {
int valid_ct_counter = 0;
for (int client = 1; client <= MaxClients; client++)
{
if (!IsValidClient(client)) continue;
if (specific_bot_player[client] == -1 && GetClientTeam(client) > CS_TEAM_SPECTATOR)
{
valid_ct_counter++;
}
}
for (int client = 1; client <= MaxClients; client++) for (int client = 1; client <= MaxClients; client++)
{ {
if (!IsValidClient(client)) if (!IsValidClient(client))
@ -380,10 +371,6 @@ public Action check_team(Handle timer, any data)
} }
if (specific_bot_player[client] != -1 && GetClientTeam(client) <= CS_TEAM_SPECTATOR) if (specific_bot_player[client] != -1 && GetClientTeam(client) <= CS_TEAM_SPECTATOR)
{ {
if (valid_ct_counter < 3)
{
continue;
}
ChangeClientTeam(client, CS_TEAM_T); ChangeClientTeam(client, CS_TEAM_T);
continue; continue;
} }