Browse Source

engine: server: log: fix log off command not disabling logging to console (fixes #1340)

pull/2/head
jeefo 2 years ago committed by Alibek Omarov
parent
commit
699f3579fe
  1. 3
      engine/server/sv_log.c

3
engine/server/sv_log.c

@ -225,7 +225,10 @@ void SV_ServerLog_f( void ) @@ -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…
Cancel
Save