From: FruitieX Date: Sat, 11 Dec 2010 20:12:13 +0000 (+0200) Subject: always draw the scoreboard when observing (won't change behaviour in other gamemodes... X-Git-Tag: xonotic-v0.1.0preview~51^2~7 X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=commitdiff_plain;h=4643c9df1b7f2232384263def0eb5bb6c0050d2f;ds=sidebyside always draw the scoreboard when observing (won't change behaviour in other gamemodes, fixes some panels being visible in CTS where they shouldnt be) --- diff --git a/qcsrc/client/scoreboard.qc b/qcsrc/client/scoreboard.qc index f03ee9965c..31cdc45bfa 100644 --- a/qcsrc/client/scoreboard.qc +++ b/qcsrc/client/scoreboard.qc @@ -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;