checkrules_suddendeathend = checkrules_overtimesadded = checkrules_suddendeathwarning = 0;
readyrestart_happened = 1;
- game_starttime = time;
- if(!g_arena) { game_starttime += RESTART_COUNTDOWN; }
+ game_starttime = time + RESTART_COUNTDOWN;
// clear alivetime
FOR_EACH_CLIENT(tmp_player)
}
//initiate the restart-countdown-announcer entity
- if(autocvar_sv_ready_restart_after_countdown && !g_arena)
+ if(autocvar_sv_ready_restart_after_countdown)
{
restart_timer = spawn();
restart_timer.think = ReadyRestart_think;
MUTATOR_HOOKFUNCTION(arena_SV_StartFrame)
{
- if(arena_roundbased) return 1;
- if(time <= game_starttime) return 1;
if(gameover) return 1;
-
- Arena_AddChallengers();
+ if(time <= game_starttime || !arena_roundbased)
+ Arena_AddChallengers();
return 1;
}