Run toggleconsole in binds while in menu or message mode

This commit is contained in:
Zack Middleton 2013-01-16 23:06:35 -06:00
parent 4ba14425ed
commit 9c701a781b

View file

@ -1131,6 +1131,8 @@ static qboolean CL_BindUICommand( const char *cmd ) {
if ( Key_GetCatcher( ) & KEYCATCH_CONSOLE ) if ( Key_GetCatcher( ) & KEYCATCH_CONSOLE )
return qfalse; return qfalse;
if ( !Q_stricmp( cmd, "toggleconsole" ) )
return qtrue;
if ( !Q_stricmp( cmd, "togglemenu" ) ) if ( !Q_stricmp( cmd, "togglemenu" ) )
return qtrue; return qtrue;