]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/hud/panel/score.qc
Create queue system to prevent team imbalance in teamplay
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / hud / panel / score.qc
index bf77d739fce3f7217cb82d7c771e25310724871f..c33fce08b16a1ae80a9d3a256e99551ea7424167 100644 (file)
@@ -1,6 +1,5 @@
 #include "score.qh"
 
-#include <client/autocvars.qh>
 #include <client/draw.qh>
 #include <client/hud/panel/scoreboard.qh>
 #include <common/ent_cs.qh>
@@ -78,8 +77,7 @@ void HUD_Score_Rankings(vector pos, vector mySize, entity me)
                return;
        }
 
-       if (!scoreboard_fade_alpha) // the scoreboard too calls Scoreboard_UpdatePlayerTeams
-               Scoreboard_UpdatePlayerTeams();
+       Scoreboard_UpdatePlayerTeams();
        if (team_count)
        {
                // show team scores in the first line
@@ -181,7 +179,7 @@ void HUD_Score()
                                pl = NULL;
 
                score = me.(scores(ps_primary));
-               timer = TIME_ENCODED_TOSTRING(score);
+               timer = TIME_ENCODED_TOSTRING(score, false);
 
                draw_beginBoldFont();
                if (pl && ((!(scores_flags(ps_primary) & SFL_ZERO_IS_WORST)) || score)) {