From: terencehill Date: Wed, 13 Mar 2013 18:06:49 +0000 (+0100) Subject: Arena: don't force players to spawn so early. Altought it's intended to be primarly... X-Git-Tag: xonotic-v0.7.0~61^2~9 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=fa2c130b5bad2b010d9d26682a1750c7591287c7;p=xonotic%2Fxonotic-data.pk3dir.git Arena: don't force players to spawn so early. Altought it's intended to be primarly a minor gameplay change, it also is a workaround for player starting with the dead animation when forced to join the game immediately and g_start_delay is > 0 --- diff --git a/qcsrc/server/mutators/gamemode_arena.qc b/qcsrc/server/mutators/gamemode_arena.qc index c64886b91..484e64199 100644 --- a/qcsrc/server/mutators/gamemode_arena.qc +++ b/qcsrc/server/mutators/gamemode_arena.qc @@ -97,6 +97,8 @@ float Arena_CheckWinner() void Arena_AddChallengers() { entity e; + if(time < 2) // don't force players to spawn so early + return; e = self; while(numspawned < maxspawned && spawnqueue_first) {