From: Rudolf Polzer Date: Sat, 13 Jul 2013 09:01:18 +0000 (+0200) Subject: cl_maxfps_alwayssleep: make saved, fixes #1674 X-Git-Tag: xonotic-v0.8.0~378 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=62a098d8ce9cfc7e2c78da427f6e2dae51f0239f;p=xonotic%2Fxonotic-data.pk3dir.git cl_maxfps_alwayssleep: make saved, fixes #1674 --- diff --git a/defaultXonotic.cfg b/defaultXonotic.cfg index d26c173e1..8e11678e7 100644 --- a/defaultXonotic.cfg +++ b/defaultXonotic.cfg @@ -1042,19 +1042,22 @@ set con_completion_vnextmap map set con_completion_vdomap map set con_completion_playermodel models/player/*.iqm +// helper // these non-saved engine cvars shall be saved -seta cl_port $cl_port -seta r_showsurfaces $r_showsurfaces -seta r_ambient $r_ambient -seta skill 4 -seta gl_finish $gl_finish -seta v_kicktime $v_kicktime -seta r_subdivisions_tolerance $r_subdivisions_tolerance -seta vid_gl20 $vid_gl20 -seta vid_gl13 $vid_gl13 -seta r_drawviewmodel $r_drawviewmodel -seta v_idlescale $v_idlescale -seta net_slist_queriespersecond $net_slist_queriespersecond +alias makesaved "seta $1 \"${$1 ?}\" +makesaved cl_maxfps_alwayssleep +makesaved cl_port +makesaved gl_finish +makesaved net_slist_queriespersecond +makesaved r_ambient +makesaved r_drawviewmodel +makesaved r_showsurfaces +makesaved r_subdivisions_tolerance +makesaved skill +makesaved vid_gl13 +makesaved vid_gl20 +makesaved v_idlescale +makesaved v_kicktime // ticrate //sys_ticrate 0.0166667