if (time <= game_starttime && game_stopped)
return;
- bprint("^1Server is restarting...\n");
+ bprint("^1Match is restarting...\n");
VoteReset();
if (autocvar_sv_eventlog) GameLogEcho(":restart");
}
-void ReadyRestart(bool endWarmup)
+void ReadyRestart(bool forceWarmupEnd)
{
if (MUTATOR_CALLHOOK(ReadyRestart_Deny) || intermission_running || race_completing) localcmd("restart\n");
else localcmd("\nsv_hook_readyrestart\n");
// Otherwise scores could be manipulated during the countdown.
if (!sv_ready_restart_after_countdown) Score_ClearAll();
- if(endWarmup)
+ if(forceWarmupEnd)
warmup_stage = 0; // forcefully end warmup and go to match stage
else
- warmup_stage = cvar("g_warmup"); // go into warmup if it's enabled, otherwise restart into match stage anyway
+ warmup_stage = cvar("g_warmup"); // go into warmup if it's enabled, otherwise restart into match stage
ReadyRestart_force();
}