From: terencehill Date: Tue, 5 Feb 2013 23:19:56 +0000 (+0100) Subject: Reapply commit 5c9da9cf4 "fix Arena spectator status" that got lost in the merge... X-Git-Tag: xonotic-v0.7.0~61^2~61 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=fe889925c66859dec43e6a7b2de3b8ed87b14088;p=xonotic%2Fxonotic-data.pk3dir.git Reapply commit 5c9da9cf4 "fix Arena spectator status" that got lost in the merge commit --- diff --git a/qcsrc/server/mutators/gamemode_arena.qc b/qcsrc/server/mutators/gamemode_arena.qc index cc93dd3e4..891514e2e 100644 --- a/qcsrc/server/mutators/gamemode_arena.qc +++ b/qcsrc/server/mutators/gamemode_arena.qc @@ -173,14 +173,17 @@ MUTATOR_HOOKFUNCTION(arena_reset_map_players) MUTATOR_HOOKFUNCTION(arena_MakePlayerObserver) { - self.frags = FRAGS_PLAYER; if(self.version_mismatch) { + self.frags = FRAGS_SPECTATOR; Spawnqueue_Unmark(self); Spawnqueue_Remove(self); } else + { + self.frags = FRAGS_LMS_LOSER; Spawnqueue_Insert(self); + } return 1; }