Browse Source

engine: client: also drop loading plaque on toggleconsole, in case if it's stuck

pull/2/head
Alibek Omarov 2 years ago
parent
commit
64eb0a694d
  1. 2
      engine/client/console.c

2
engine/client/console.c

@ -283,6 +283,8 @@ void Con_ToggleConsole_f( void ) @@ -283,6 +283,8 @@ void Con_ToggleConsole_f( void )
if( !host.allow_console || UI_CreditsActive( ))
return; // disabled
SCR_EndLoadingPlaque();
// show console only in game or by special call from menu
if( cls.state != ca_active || cls.key_dest == key_menu )
return;

Loading…
Cancel
Save