From: terencehill Date: Thu, 26 Nov 2015 16:35:24 +0000 (+0100) Subject: Write empty title and author attributes when exporting a HUD skin X-Git-Tag: xonotic-v0.8.2~1467^2~7 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=0add2cd910d9b9f6d96ae9a8e90cb740f4b38e88;p=xonotic%2Fxonotic-data.pk3dir.git Write empty title and author attributes when exporting a HUD skin --- diff --git a/qcsrc/client/hud/hud_config.qc b/qcsrc/client/hud/hud_config.qc index be76d4653..9ca2a0ab5 100644 --- a/qcsrc/client/hud/hud_config.qc +++ b/qcsrc/client/hud/hud_config.qc @@ -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");