Skip to content

Commit

Permalink
engine: host: always print Host_Error text to log, even if console ha…
Browse files Browse the repository at this point in the history
…sn't been enabled
  • Loading branch information
a1batross committed Dec 27, 2024
1 parent a5d78ec commit 2d1e761
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engine/common/host.c
Original file line number Diff line number Diff line change
Expand Up @@ -809,11 +809,11 @@ void GAME_EXPORT Host_Error( const char *error, ... )
}
else
{
Con_Printf( "%s: %s", __func__, hosterror1 );
if( host.allow_console )
{
UI_SetActiveMenu( false );
Key_SetKeyDest( key_console );
Con_Printf( "%s: %s", __func__, hosterror1 );
}
else Platform_MessageBox( "Host Error", hosterror1, true );
}
Expand Down

0 comments on commit 2d1e761

Please sign in to comment.