engine: host: always print Host_Error text to log, even if console hasn't been enabled
This commit is contained in:
parent
a5d78ecfd7
commit
2d1e76199b
1 changed files with 1 additions and 1 deletions
|
@ -809,11 +809,11 @@ void GAME_EXPORT Host_Error( const char *error, ... )
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Con_Printf( "%s: %s", __func__, hosterror1 );
|
||||||
if( host.allow_console )
|
if( host.allow_console )
|
||||||
{
|
{
|
||||||
UI_SetActiveMenu( false );
|
UI_SetActiveMenu( false );
|
||||||
Key_SetKeyDest( key_console );
|
Key_SetKeyDest( key_console );
|
||||||
Con_Printf( "%s: %s", __func__, hosterror1 );
|
|
||||||
}
|
}
|
||||||
else Platform_MessageBox( "Host Error", hosterror1, true );
|
else Platform_MessageBox( "Host Error", hosterror1, true );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue