]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
always draw the scoreboard when observing (won't change behaviour in other gamemodes...
authorFruitieX <fruitiex@gmail.com>
Sat, 11 Dec 2010 20:12:13 +0000 (22:12 +0200)
committerFruitieX <fruitiex@gmail.com>
Sat, 11 Dec 2010 20:12:13 +0000 (22:12 +0200)
qcsrc/client/scoreboard.qc

index f03ee9965c3e7eccd3ea41008559157a2141a986..31cdc45bfa04b4bcffe5697e0bbf47d4fcc4ccec 100644 (file)
@@ -885,6 +885,8 @@ float HUD_WouldDrawScoreboard() {
                return 1;
        else if (getstati(STAT_HEALTH) <= 0 && autocvar_cl_deathscoreboard && gametype != GAME_CTS)
                return 1;
+    else if (spectatee_status == -1)
+        return 1;
        else if (scoreboard_showscores_force)
                return 1;
        return 0;