]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/hud/panel/score.qc
Add new nade to the cvar descriptions
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / hud / panel / score.qc
index 42d18ff62a92ef0876e70f6c1e08cb699aee1d73..49a8fa5b7a465f2e362098031df2dce86a05a178 100644 (file)
@@ -1,3 +1,9 @@
+#include "score.qh"
+
+#include <client/scoreboard.qh>
+#include <common/ent_cs.qh>
+#include <common/mapinfo.qh>
+
 // Score (#7)
 
 void HUD_UpdatePlayerTeams();
@@ -138,6 +144,10 @@ void HUD_Score()
        pos = panel_pos;
        mySize = panel_size;
 
+       if (autocvar_hud_panel_score_dynamichud)
+               HUD_Scale_Enable();
+       else
+               HUD_Scale_Disable();
        HUD_Panel_DrawBg(1);
        if(panel_bg_padding)
        {