]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Also disable score panel in race/cts when observing
authorterencehill <piuntn@gmail.com>
Wed, 15 Dec 2010 23:48:33 +0000 (00:48 +0100)
committerterencehill <piuntn@gmail.com>
Wed, 15 Dec 2010 23:48:33 +0000 (00:48 +0100)
qcsrc/client/hud.qc

index 0910c7a7811281be2484eaa6bb436cff89721de8..c9525bf7f2d13f1e8fc95e579e3f206e0cd00867 100644 (file)
@@ -3609,6 +3609,7 @@ void HUD_Score(void)
        if(!autocvar__hud_configure)
        {
                if(!autocvar_hud_panel_score) return;
+               if(spectatee_status == -1 && (gametype == GAME_RACE || gametype == GAME_CTS)) return;
        }
        else
                hud_configure_active_panel = HUD_PANEL_SCORE;