mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
actually free the client when SV_FreeClient is called (oops:)
This commit is contained in:
parent
bfaef7747b
commit
f70b1fbafd
1 changed files with 4 additions and 1 deletions
|
@ -1783,7 +1783,10 @@ PF_SV_FreeClient (progs_t *pr)
|
|||
|
||||
if (cl->userinfo)
|
||||
Info_Destroy (cl->userinfo);
|
||||
//SV_FullClientUpdate (cl, &sv.reliable_datagram);
|
||||
cl->userinfo = 0;
|
||||
SV_FullClientUpdate (cl, &sv.reliable_datagram);
|
||||
cl->state = cs_free;
|
||||
|
||||
//if (sv_client_disconnect_e->func)
|
||||
// GIB_Event_Callback (sv_client_disconnect_e, 2, va("%u", cl->userid),
|
||||
// "server");
|
||||
|
|
Loading…
Reference in a new issue