engine: host: always enable console for dedicated

This commit is contained in:
Alibek Omarov 2024-07-26 11:08:34 +03:00
parent 173aa7333a
commit e70f9a67b8
1 changed files with 2 additions and 2 deletions

View File

@ -1028,8 +1028,8 @@ static void Host_InitCommon( int argc, char **argv, const char *progname, qboole
}
#endif
// always enable console for Quake
if( !host.allow_console && ( Sys_CheckParm( "-console" ) || !Q_strnicmp( exename, "quake", 5 )))
// always enable console for Quake and dedicated
if( !host.allow_console && ( Host_IsDedicated() || Sys_CheckParm( "-console" ) || !Q_strnicmp( exename, "quake", 5 )))
host.allow_console = true;
// member console allowing