engine: server: log: fix log off command not disabling logging to console (fixes #1340)
This commit is contained in:
parent
873ce0ce48
commit
699f3579fe
1 changed files with 3 additions and 0 deletions
|
@ -225,7 +225,10 @@ void SV_ServerLog_f( void )
|
|||
if( !Q_stricmp( Cmd_Argv( 1 ), "off" ))
|
||||
{
|
||||
if( svs.log.active )
|
||||
{
|
||||
Log_Close();
|
||||
svs.log.active = false;
|
||||
}
|
||||
}
|
||||
else if( !Q_stricmp( Cmd_Argv( 1 ), "on" ))
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue