From: Mario Date: Mon, 4 Jun 2018 05:18:03 +0000 (+1000) Subject: Always force re-spawn in CA, fixes sitting as observer forever X-Git-Tag: xonotic-v0.8.5~2113 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=53eb43a978831251f6b7ee06307a1d1f508e76b3;p=xonotic%2Fxonotic-data.pk3dir.git Always force re-spawn in CA, fixes sitting as observer forever --- diff --git a/qcsrc/server/mutators/mutator/gamemode_ca.qc b/qcsrc/server/mutators/mutator/gamemode_ca.qc index 43ed39aea..49bd58bd8 100644 --- a/qcsrc/server/mutators/mutator/gamemode_ca.qc +++ b/qcsrc/server/mutators/mutator/gamemode_ca.qc @@ -271,6 +271,7 @@ MUTATOR_HOOKFUNCTION(ca, PlayerDies) // prevent unwanted sudden rejoin as spectator and move of spectator camera frag_target.respawn_time = time + 2; } + frag_target.respawn_flags |= RESPAWN_FORCE; if (!warmup_stage) eliminatedPlayers.SendFlags |= 1; if(IS_BOT_CLIENT(frag_target))