Scoreboard_UI_Enable(0);
return true;
}
- if (!isdemo() && cvar("_menu_gamemenu_dialog_available"))
+ if (autocvar_menu_gamemenu && !isdemo() && cvar("_menu_gamemenu_dialog_available"))
{
localcmd("\nmenu_showgamemenudialog\n");
return true;
bool autocvar_cl_race_cptimes_onlyself; // TODO: move to race gamemode
bool autocvar_cl_race_cptimes_showself = false;
bool autocvar_cl_welcome = true;
+bool autocvar_menu_gamemenu = true;
// Map coordinate base calculations need these
vector mi_center;
scr_loadingscreen_scale_base 1
scr_loadingscreen_scale_limit 2
+// in-game menu
+seta menu_gamemenu 1 "1: show in-game menu when esc is pressed; 0: show main menu when esc is pressed"
+
// other config files
exec effects-normal.cfg
exec crosshairs.cfg