]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Clear clients from the intrusive lists on disconnect
authorMario <mario@smbclan.net>
Mon, 24 Oct 2016 22:44:09 +0000 (08:44 +1000)
committerMario <mario@smbclan.net>
Mon, 24 Oct 2016 22:44:09 +0000 (08:44 +1000)
qcsrc/server/client.qc

index db46221d5e8dad5f52947efd295a24b9b35a6570..b563f354f972c6d568f4469dc0458ff6c6ec28b6 100644 (file)
@@ -1276,6 +1276,8 @@ void ClientDisconnect(entity this)
        this.playerid = 0;
        ReadyCount();
        if (vote_called && IS_REAL_CLIENT(this)) VoteCount(false);
+
+       ONREMOVE(this);
 }
 
 void ChatBubbleThink(entity this)