]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
no deathscoreboard in CTS, you immediately spawn
authorFruitieX <fruitiex@gmail.com>
Sat, 11 Dec 2010 19:35:47 +0000 (21:35 +0200)
committerFruitieX <fruitiex@gmail.com>
Sat, 11 Dec 2010 19:35:47 +0000 (21:35 +0200)
qcsrc/client/scoreboard.qc

index 502c4481bcb2183da2863b480fdb2b8c050b922a..f03ee9965c3e7eccd3ea41008559157a2141a986 100644 (file)
@@ -883,7 +883,7 @@ float HUD_WouldDrawScoreboard() {
                return 1;
        else if (intermission == 1)
                return 1;
-       else if (getstati(STAT_HEALTH) <= 0 && autocvar_cl_deathscoreboard)
+       else if (getstati(STAT_HEALTH) <= 0 && autocvar_cl_deathscoreboard && gametype != GAME_CTS)
                return 1;
        else if (scoreboard_showscores_force)
                return 1;