From: terencehill Date: Sun, 14 Aug 2016 13:25:31 +0000 (+0200) Subject: Get rid of a warning in the console when starting a game: "fixed missing field ''" X-Git-Tag: xonotic-v0.8.2~716^2~1 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=8f19f3e05168be07eb61c6aa3dfd38eb0a6d1fa1;p=xonotic%2Fxonotic-data.pk3dir.git Get rid of a warning in the console when starting a game: "fixed missing field ''" --- diff --git a/qcsrc/client/hud/panel/scoreboard.qc b/qcsrc/client/hud/panel/scoreboard.qc index e725878a3..3d6d77fc7 100644 --- a/qcsrc/client/hud/panel/scoreboard.qc +++ b/qcsrc/client/hud/panel/scoreboard.qc @@ -363,6 +363,7 @@ void Cmd_Scoreboard_SetFields(int argc) // no layout can be properly set up until score_info data haven't been received argc = tokenizebyseparator("0 1 ping pl name | score", " "); ps_primary = SP_SCORE; + ps_secondary = SP_SCORE; scores_label(ps_primary) = strzone("score"); scores_flags(ps_primary) = SFL_ALLOW_HIDE; }