]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/scoreboard.qc
Don't draw team 0 if teamplay is active (potential fix for the infamous 'black team...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / scoreboard.qc
index 44b820ebc7a7acadb5faebe2da7265136193e630..cd8df72f66cfa7f2699645d76a8f824f7aa80687 100644 (file)
@@ -1313,6 +1313,8 @@ void HUD_DrawScoreboard()
                {
                        if(tm.team == NUM_SPECTATOR)
                                continue;
+                       if(!tm.team && teamplay)
+                               continue;
 
                        draw_beginBoldFont();
                        rgb = Team_ColorRGB(tm.team);
@@ -1342,6 +1344,8 @@ void HUD_DrawScoreboard()
                {
                        if(tm.team == NUM_SPECTATOR)
                                continue;
+                       if(!tm.team && teamplay)
+                               continue;
 
                        pos = HUD_Scoreboard_MakeTable(pos, tm, rgb, bg_size);
                }