mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
engine: only switch to console on Host_Error when developer mode is enabled
This commit is contained in:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user