From: Mario Date: Tue, 14 Jun 2016 14:04:21 +0000 (+1000) Subject: Merge branch 'master' into Mario/showspecs X-Git-Tag: xonotic-v0.8.2~750^2~6 X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=commitdiff_plain;h=8e0690ba978a6a0c7287bc3cfa2873a05b15fc5f Merge branch 'master' into Mario/showspecs --- 8e0690ba978a6a0c7287bc3cfa2873a05b15fc5f diff --cc qcsrc/server/cl_client.qc index 1f92d24442,28d9c6c1a0..c2a5877761 --- a/qcsrc/server/cl_client.qc +++ b/qcsrc/server/cl_client.qc @@@ -1219,10 -1185,8 +1219,10 @@@ void ClientDisconnect( if (autocvar_sv_eventlog) GameLogEcho(strcat(":part:", ftos(this.playerid))); - Send_Notification(NOTIF_ALL, world, MSG_INFO, INFO_QUIT_DISCONNECT, this.netname); + Send_Notification(NOTIF_ALL, NULL, MSG_INFO, INFO_QUIT_DISCONNECT, this.netname); + SetSpectatee(this, NULL); + MUTATOR_CALLHOOK(ClientDisconnect, this); ClientState_detach(this);