Skip to content
Snippets Groups Projects

Add menu_gamemenu client cvar to enable/disable the in-game menu

Merged z411 requested to merge z411/gamemenu_cvar into master
Files
3
+ 1
1
@@ -526,7 +526,7 @@ float CSQC_InputEvent(int bInputType, float nPrimary, float nSecondary)
Scoreboard_UI_Enable(0);
return true;
}
if (autocvar_cl_gamemenu && !isdemo() && cvar("_menu_gamemenu_dialog_available"))
if (autocvar_menu_gamemenu && !isdemo() && cvar("_menu_gamemenu_dialog_available"))
{
localcmd("\nmenu_showgamemenudialog\n");
return true;
Loading