]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/hud/panel/racetimer.qc
Implement fading of panels when showing the scoreboard making use of a new show flag
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / hud / panel / racetimer.qc
index 5ffa0746385f39dad03cca032e1114b3b5a10ed1..02b631b3000932cbd2ee69f812e5cc8446f2aed1 100644 (file)
@@ -1,6 +1,5 @@
 #include "racetimer.qh"
 
-#include "scoreboard.qh"
 #include <common/mapinfo.qh>
 
 // Race timer (#6)
@@ -84,9 +83,7 @@ void HUD_RaceTimer ()
                if(spectatee_status == -1) return;
        }
 
-       if(1 - scoreboard_fade_alpha <= 0)
-               return;
-       HUD_Panel_LoadCvars(1 - scoreboard_fade_alpha);
+       HUD_Panel_LoadCvars();
 
        vector pos, mySize;
        pos = panel_pos;