Commit 3fda6bb1 authored by Martin Taibr's avatar Martin Taibr

avoid error on startup

parent fd70aa63
Pipeline #9958555 passed with stage
in 14 minutes and 56 seconds
......@@ -89,6 +89,10 @@ vid_conheight 600
// menu_conwidth, menu_conheight are set inside quake.rc
v_deathtilt 0 // needed for spectators (who are dead to avoid prediction)
// create a temporary empty alias for menu_sync so that execution of effects-normal.cfg, hud_luma.cfg
// and sRGB-{disable,enable}.cfg on game start doesn't show an error message in the console
alias menu_sync "" // will be re-aliased later
// we want to use sRGB for our maps!
exec sRGB-disable.cfg
vid_sRGB_fallback 2
......@@ -284,10 +288,6 @@ r_glsl_offsetmapping_lod 1
r_glsl_offsetmapping_reliefmapping 0
r_glsl_offsetmapping_scale 0.02
// create a temporary empty alias for menu_sync so that execution of effects-normal.cfg
// on game start doesn't show an error message in the console
alias menu_sync "" // will be re-aliased later
scr_conalpha 1
scr_conbrightness 0.2
scr_screenshot_jpeg 1
......@@ -816,7 +816,7 @@ exec _hud_descriptions.cfg
// please add any new cvars into the hud_save script in qcsrc/client/hud_config.qc for consistency
exec hud_luma.cfg
// enable menu syncing
// enable menu syncing - must be after files that call menu_sync on startup - see alias menu_sync ""
alias menu_sync "menu_cmd sync"
seta cl_items_nofade 0
......
......@@ -4,4 +4,4 @@ mod_q3bsp_sRGBlightmaps 0
r_hdr_scenebrightness 1
r_ambient 4
menu_cmd sync
menu_sync
......@@ -4,4 +4,4 @@ mod_q3bsp_sRGBlightmaps 1
r_hdr_scenebrightness 1
r_ambient 0.25
menu_cmd sync
menu_sync
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment