From be9b8f4fd280a78e151e38eab61cda9008f219b7 Mon Sep 17 00:00:00 2001 From: terencehill Date: Wed, 31 Aug 2016 01:32:15 +0200 Subject: [PATCH] Display an empty scoreboard in the beginning in DM too --- qcsrc/client/hud/panel/scoreboard.qc | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) 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) { -- 2.39.2