Note: at startup menu_sync doesn't really get executed, since before executing hud_default.cfg it's defined as ""
// hud cvar descriptions
exec _hud_descriptions.cfg
-// exec the default skin config. remember, NO menu_restart in the deafault cfg (dp segfaults at startup otherwise)
+// exec the default skin config
// please add any new cvars into the hud_save script in qcsrc/client/hud.qc for consistency
exec hud_default.cfg
seta hud_panel_infomessages_bg_border ""
seta hud_panel_infomessages_bg_padding "0"
seta hud_panel_infomessages_flip "1"
+
+menu_sync
seta hud_panel_infomessages_bg_padding "0"
seta hud_panel_infomessages_flip "1"
-menu_restart
+menu_sync
seta hud_panel_infomessages_bg_padding ""
seta hud_panel_infomessages_flip "1"
-menu_restart
+menu_sync
}
fputs(fh, "\n");
}
- fputs(fh, strcat("menu_restart", "\n")); // force a menu update when execing config, so that the dialogs are updated
+ fputs(fh, strcat("menu_sync", "\n")); // force the menu to reread the cvars, so that the dialogs are updated
print("^2Successfully exported to hud_", autocvar_hud_skin, "_", cfgname, ".cfg! (Note: It's saved in data/data/)\n");
}