mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
forgot to "disconnect" the client when it drops
This commit is contained in:
parent
88ae6de8bf
commit
d2c586dae7
1 changed files with 2 additions and 0 deletions
|
@ -113,6 +113,8 @@ cl_begin_f (client_t *cl, void *unused)
|
||||||
static void
|
static void
|
||||||
cl_drop_f (client_t *cl, void *unused)
|
cl_drop_f (client_t *cl, void *unused)
|
||||||
{
|
{
|
||||||
|
if (cl->server)
|
||||||
|
Server_Disconnect (cl);
|
||||||
client_drop (cl);
|
client_drop (cl);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue