mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2025-02-02 06:33:30 +00:00
IOQ3 commit 2316
This commit is contained in:
parent
8ce7cc6aea
commit
60df01b76c
1 changed files with 5 additions and 1 deletions
|
@ -2472,7 +2472,11 @@ void CheckTournament(void)
|
||||||
// if all players have arrived, start the countdown
|
// if all players have arrived, start the countdown
|
||||||
if (level.warmupTime < 0) {
|
if (level.warmupTime < 0) {
|
||||||
// fudge by -1 to account for extra delays
|
// fudge by -1 to account for extra delays
|
||||||
|
if ( g_warmup.integer > 1 ) {
|
||||||
level.warmupTime = level.time + (g_warmup.integer - 1) * 1000;
|
level.warmupTime = level.time + (g_warmup.integer - 1) * 1000;
|
||||||
|
} else {
|
||||||
|
level.warmupTime = 0;
|
||||||
|
}
|
||||||
trap_SetConfigstring(CS_WARMUP, va("%i", level.warmupTime));
|
trap_SetConfigstring(CS_WARMUP, va("%i", level.warmupTime));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue