]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/view.qc
Fix scoreboard UI input handling, implement team selection in the scoreboard (keyboar...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / view.qc
index 855d20f818fbf7d04028cd255ec5067f42ab25f8..cd36c1000ecd1fb46d00a1856120384778da70c9 100644 (file)
@@ -1705,6 +1705,11 @@ void CSQC_UpdateView(entity this, float w, float h)
        Debug_Draw();
 #endif
 
+       if (autocvar__scoreboard_team_selection)
+       {
+               Scoreboard_UI_Enable(1);
+               cvar_set("_scoreboard_team_selection", "0");
+       }
        scoreboard_active = Scoreboard_WouldDraw();
 
        HUD_Draw(this); // this parameter for deep vehicle function