From: terencehill Date: Tue, 30 Aug 2016 23:32:15 +0000 (+0200) Subject: Display an empty scoreboard in the beginning in DM too X-Git-Tag: xonotic-v0.8.2~600^2~10 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=be9b8f4fd280a78e151e38eab61cda9008f219b7;p=xonotic%2Fxonotic-data.pk3dir.git Display an empty scoreboard in the beginning in DM too --- diff --git a/qcsrc/client/hud/panel/scoreboard.qc b/qcsrc/client/hud/panel/scoreboard.qc index d85bab849..8c6a2cbcb 100644 --- a/qcsrc/client/hud/panel/scoreboard.qc +++ b/qcsrc/client/hud/panel/scoreboard.qc @@ -1503,12 +1503,10 @@ void Scoreboard_Draw() else { for(tm = teams.sort_next; tm; tm = tm.sort_next) - { - if(tm.team == NUM_SPECTATOR) - continue; - - pos = Scoreboard_MakeTable(pos, tm, panel_bg_color, bg_size); - } + if(tm.team != NUM_SPECTATOR) + break; + // display it anyway + pos = Scoreboard_MakeTable(pos, tm, panel_bg_color, bg_size); } if(gametype == MAPINFO_TYPE_CTS || gametype == MAPINFO_TYPE_RACE) {