Skip to content

Commit

Permalink
engine: host: always enable console for dedicated
Browse files Browse the repository at this point in the history
  • Loading branch information
a1batross committed Jul 26, 2024
1 parent 173aa73 commit e70f9a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions engine/common/host.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e70f9a6

Please sign in to comment.