From 2d1e76199b17bf5ff8b56db9ff141df6885622bb Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Fri, 27 Dec 2024 18:37:25 +0300 Subject: [PATCH] engine: host: always print Host_Error text to log, even if console hasn't been enabled --- engine/common/host.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/common/host.c b/engine/common/host.c index e24d12980..9ed0be05c 100644 --- a/engine/common/host.c +++ b/engine/common/host.c @@ -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 ); }