]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/gamemodes/gamemode/duel/sv_duel.qc
Add an option (enabled by default) to configure whether the duel gamemode has a warmup
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / gamemodes / gamemode / duel / sv_duel.qc
index 0f771411aaee48c5a72ad7a5747750a7ef77e7a2..c2f2c0508ea16e28b3d3e0738949a6efb1cc4779 100644 (file)
@@ -2,7 +2,8 @@
 
 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;
 }