From: Rudolf Polzer Date: Mon, 10 Mar 2014 10:13:11 +0000 (+0100) Subject: Get rid of a stupid dummy forced-saved-cvars cvar. X-Git-Tag: xonotic-v0.8.0~225 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=f65d6c4047bfc05f465e3cf2878de9f368b66bad;p=xonotic%2Fxonotic-data.pk3dir.git Get rid of a stupid dummy forced-saved-cvars cvar. --- diff --git a/post-config.cfg b/post-config.cfg index 7fb4ea4af..f74727f2e 100644 --- a/post-config.cfg +++ b/post-config.cfg @@ -1,6 +1,6 @@ -// Mark all cvars listed in cl_forced_saved_cvars as saved. That way they'll never disappear from config.cfg. -alias _cl_forced_saved_cvars_next "set _forced_saved_cvar_ doit; set _forced_saved_cvar_${1 ?} done; _cl_forced_saved_cvars_chck ${* ?}" -alias _cl_forced_saved_cvars_chck "_cl_forced_saved_cvars_$_forced_saved_cvar_ ${* ?}" -alias _cl_forced_saved_cvars_doit "seta $1 \"${$1}\"; _cl_forced_saved_cvars_next ${2- ?}" -alias _cl_forced_saved_cvars_done "" -_cl_forced_saved_cvars_next $cl_forced_saved_cvars +// Mark all cvars listed in menu_forced_saved_cvars as saved. That way they'll never disappear from config.cfg. +alias _menu_forced_saved_cvars_next "set _forced_saved_cvar_ doit; set _forced_saved_cvar_${1 ?} done; _menu_forced_saved_cvars_chck ${* ?}" +alias _menu_forced_saved_cvars_chck "_menu_forced_saved_cvars_$_forced_saved_cvar_ ${* ?}" +alias _menu_forced_saved_cvars_doit "seta $1 \"${$1}\"; _menu_forced_saved_cvars_next ${2- ?}" +alias _menu_forced_saved_cvars_done "" +_menu_forced_saved_cvars_next ${menu_forced_saved_cvars ?}