engine: only switch to console on Host_Error when developer mode is enabled

This commit is contained in:
Alibek Omarov
2026-02-28 20:39:34 +05:00
parent 711d15958c
commit 53c5a33ffd

View File

@@ -838,7 +838,7 @@ void GAME_EXPORT Host_Error( const char *error, ... )
else
{
Con_Printf( S_RED "%s" S_DEFAULT ": %s", __func__, hosterror1 );
if( host.allow_console )
if( host_developer.value )
{
UI_SetActiveMenu( false );
Key_SetKeyDest( key_console );