IOQ3 commit 2316

This commit is contained in:
Richard Allen 2012-10-04 16:09:00 +00:00
parent 8ce7cc6aea
commit 60df01b76c

View file

@ -2472,7 +2472,11 @@ void CheckTournament(void)
// if all players have arrived, start the countdown
if (level.warmupTime < 0) {
// fudge by -1 to account for extra delays
if ( g_warmup.integer > 1 ) {
level.warmupTime = level.time + (g_warmup.integer - 1) * 1000;
} else {
level.warmupTime = 0;
}
trap_SetConfigstring(CS_WARMUP, va("%i", level.warmupTime));
return;
}