mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 22:51:57 +00:00
frikbots don't flush the client slots properly.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@178 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
22df4f4dd8
commit
45dfeb3bd3
1 changed files with 4 additions and 1 deletions
|
@ -716,7 +716,10 @@ void NPP_QWFlush(void)
|
|||
if (buffer[6])
|
||||
{
|
||||
Q_strncpyz(svs.clients[buffer[1]].userinfo, (buffer+6), sizeof(svs.clients[0].userinfo));
|
||||
SV_ExtractFromUserinfo(&svs.clients[buffer[1]]);
|
||||
if (*Info_ValueForKey(svs.clients[buffer[1]].userinfo, "name"))
|
||||
SV_ExtractFromUserinfo(&svs.clients[buffer[1]]);
|
||||
else
|
||||
*svs.clients[buffer[1]].name = '\0';
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue