]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/hud/panel/vote.qc
Remove the HUD_WriteCvars hook as it's no longer needed now. Mods using it must simpl...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / hud / panel / vote.qc
index 0337eccfc215cac966713dd4602018548129b935..4aab1b93bb520315148e1574e95ccf1b8d111bf2 100644 (file)
@@ -7,6 +7,12 @@
 
 // Vote (#9)
 
+void HUD_Vote_Export(int fh)
+{
+       // allow saving cvars that aesthetically change the panel into hud skin files
+       HUD_Write_Cvar("hud_panel_vote_alreadyvoted_alpha");
+}
+
 void HUD_Vote()
 {
        if(autocvar_cl_allow_uid2name == -1 && (ISGAMETYPE(CTS) || ISGAMETYPE(RACE) || (serverflags & SERVERFLAG_PLAYERSTATS)))