From: Lyberta Date: Thu, 26 Jul 2018 16:06:04 +0000 (+0300) Subject: Removed useless code in ClientConnect. X-Git-Tag: xonotic-v0.8.5~1946^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=89c894b0bb0671ef292930eb651cde22f1810b46;p=xonotic%2Fxonotic-data.pk3dir.git Removed useless code in ClientConnect. --- diff --git a/qcsrc/server/client.qc b/qcsrc/server/client.qc index c356c359f..39d2e96d9 100644 --- a/qcsrc/server/client.qc +++ b/qcsrc/server/client.qc @@ -1296,10 +1296,6 @@ void ClientConnect(entity this) } if (!teamplay && this.team_forced > 0) this.team_forced = 0; - int playerid_save = this.playerid; - this.playerid = 0; // silent - this.playerid = playerid_save; - TRANSMUTE(Observer, this); PlayerStats_GameReport_AddEvent(sprintf("kills-%d", this.playerid));