diff --git a/AutismBotIngame/scripting/autism_bot_info.sp b/AutismBotIngame/scripting/autism_bot_info.sp index c36d956..3f645df 100755 --- a/AutismBotIngame/scripting/autism_bot_info.sp +++ b/AutismBotIngame/scripting/autism_bot_info.sp @@ -642,6 +642,7 @@ public Action bot_check_connect(Handle timer, any data) public Action recursive_pressing(Handle timer, any data) { bool found_valid_ct = false; + int valid_ct_counter = 0; bool found_enemy = false; for (int client = 1; client <= MaxClients; client++) { @@ -652,7 +653,11 @@ public Action recursive_pressing(Handle timer, any data) } if (!(is_bot_player[client] || IsFakeClient(client)) && GetClientTeam(client) > 1) { - found_valid_ct = true; + valid_ct_counter++; + if (valid_ct_counter >= 3) //autismbots first join when there are three active players. + { + found_valid_ct = true; + } } } for (int client = 1; client <= MaxClients; client++)