]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/command/vote.qc
Campaign: reset the match on join so that timer is cleared and a nice 3 second countd...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / command / vote.qc
index e94880c785164bf765deebbdf5eb77c56c5f2a75..f0bd7c36b7ce50953230f6177bda6e2236b9f9c5 100644 (file)
@@ -439,6 +439,8 @@ void ReadyRestart_force(bool is_fake_round_start)
 
        if(warmup_stage)
                game_starttime = time; // Warmup: No countdown in warmup
+       else if (autocvar_g_campaign)
+               game_starttime = time + 3;
        else
                game_starttime = time + RESTART_COUNTDOWN; // Go into match mode