mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-02-05 19:54:29 +00:00
engine: server: log: fix log off command not disabling logging to console (fixes #1340)
This commit is contained in:
parent
873ce0ce48
commit
699f3579fe
@ -225,7 +225,10 @@ void SV_ServerLog_f( void )
|
|||||||
if( !Q_stricmp( Cmd_Argv( 1 ), "off" ))
|
if( !Q_stricmp( Cmd_Argv( 1 ), "off" ))
|
||||||
{
|
{
|
||||||
if( svs.log.active )
|
if( svs.log.active )
|
||||||
|
{
|
||||||
Log_Close();
|
Log_Close();
|
||||||
|
svs.log.active = false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else if( !Q_stricmp( Cmd_Argv( 1 ), "on" ))
|
else if( !Q_stricmp( Cmd_Argv( 1 ), "on" ))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user