// duel
// ======
set g_duel 0 "Duel: frag the opponent more in a one versus one arena battle"
+set g_duel_warmup 1 "Have a short warmup period before beginning the actual duel"
set g_duel_with_powerups 0 "Enable powerups to spawn in the duel gamemode"
MUTATOR_HOOKFUNCTION(duel, ReadLevelCvars)
{
- warmup_stage = 1;
+ if(autocvar_g_duel_warmup)
+ warmup_stage = 1; // otherwise allow it if it's enabled
//sv_ready_restart_after_countdown = 0;
}
}
bool autocvar_g_duel_with_powerups;
+bool autocvar_g_duel_warmup = true;