It fixes bots never joining the game if added right at map start (bot_number already set when starting the server).
f = ceil(warmup - time);
- allowed_to_spawn = 0;
-
if(inWarmupStage)
allowed_to_spawn = 1;
+ else if(!g_ca)
+ allowed_to_spawn = 0;
if(time < warmup && !inWarmupStage)
{
*/
void Spawnqueue_Check()
{
+ if(warmup == 0 && g_ca)
+ {
+ if(red_players || blue_players)
+ reset_map(TRUE);
+ return;
+ }
if(time < warmup + 1 || inWarmupStage || intermission_running)
return;