mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 22:51:57 +00:00
Its silly that it always prints 'server is paused' when the console is down, so don't say anything if that's the only way its paused (still show the plaque though).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3594 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
e4b02f6c6c
commit
c9848cbcfc
1 changed files with 4 additions and 2 deletions
|
@ -1695,6 +1695,7 @@ void SV_Begin_f (void)
|
||||||
ClientReliableWrite_Begin (host_client, svc_setpause, 2);
|
ClientReliableWrite_Begin (host_client, svc_setpause, 2);
|
||||||
ClientReliableWrite_Byte (host_client, sv.paused!=0);
|
ClientReliableWrite_Byte (host_client, sv.paused!=0);
|
||||||
}
|
}
|
||||||
|
if (sv.paused&~4)
|
||||||
SV_ClientTPrintf(host_client, PRINT_HIGH, STL_SERVERPAUSED);
|
SV_ClientTPrintf(host_client, PRINT_HIGH, STL_SERVERPAUSED);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -4287,6 +4288,7 @@ void SVNQ_Begin_f (void)
|
||||||
ClientReliableWrite_Begin (host_client, svc_setpause, 2);
|
ClientReliableWrite_Begin (host_client, svc_setpause, 2);
|
||||||
ClientReliableWrite_Byte (host_client, sv.paused!=0);
|
ClientReliableWrite_Byte (host_client, sv.paused!=0);
|
||||||
}
|
}
|
||||||
|
if (sv.paused&~4)
|
||||||
SV_ClientTPrintf(host_client, PRINT_HIGH, STL_SERVERPAUSED!=0);
|
SV_ClientTPrintf(host_client, PRINT_HIGH, STL_SERVERPAUSED!=0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue