]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Removed useless code in ClientConnect. 580/head
authorLyberta <lyberta@lyberta.net>
Thu, 26 Jul 2018 16:06:04 +0000 (19:06 +0300)
committerLyberta <lyberta@lyberta.net>
Thu, 26 Jul 2018 16:06:04 +0000 (19:06 +0300)
qcsrc/server/client.qc

index c356c359fc9f6041eb93ab770b5f4a7839d28afb..39d2e96d9a5a136e0cb4af34bf95b1ff5c30bb33 100644 (file)
@@ -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));