f = ceil(warmup - time);
- if(inWarmupStage)
+ if(inWarmupStage && g_ca)
allowed_to_spawn = 1;
- else if(!g_ca)
- allowed_to_spawn = 0;
if(time < warmup && !inWarmupStage)
{
if (g_ca)
allowed_to_spawn = 1;
- if(champion && g_arena)
+ else if(champion && g_arena)
{
FOR_EACH_REALCLIENT(e)
centerprint(e, strcat("The Champion is ", champion.netname));
compressShortVector_init();
- allowed_to_spawn = TRUE;
-
entity head;
head = nextent(world);
maxclients = 0;
ActivateTeamplay();
fraglimit_override = autocvar_g_ca_point_limit;
leadlimit_override = autocvar_g_ca_point_leadlimit;
+ allowed_to_spawn = TRUE;
precache_sound("ctf/red_capture.wav");
precache_sound("ctf/blue_capture.wav");
}