]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Write empty title and author attributes when exporting a HUD skin
authorterencehill <piuntn@gmail.com>
Thu, 26 Nov 2015 16:35:24 +0000 (17:35 +0100)
committerterencehill <piuntn@gmail.com>
Thu, 26 Nov 2015 16:35:24 +0000 (17:35 +0100)
qcsrc/client/hud/hud_config.qc

index be76d465376fe3e6c2c65227631f6bf43c8c6037..9ca2a0ab5226f529c42af92c81777f13644c71f0 100644 (file)
@@ -13,6 +13,9 @@ void HUD_Panel_ExportCfg(string cfgname)
        fh = fopen(filename, FILE_WRITE);
        if(fh >= 0)
        {
+               HUD_Write("//title \n");
+               HUD_Write("//author \n");
+               HUD_Write("\n");
                HUD_Write_Cvar("hud_skin");
                HUD_Write_Cvar("hud_panel_bg");
                HUD_Write_Cvar("hud_panel_bg_color");