From: Mario Date: Sun, 30 Aug 2015 07:06:46 +0000 (+1000) Subject: Would've sworn I fixed this before (player name resetting to IP if blank) X-Git-Tag: xonotic-v0.8.2~1973 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d48fc977c4f5148585a148d0ece55c235041aa62;p=xonotic%2Fxonotic-data.pk3dir.git Would've sworn I fixed this before (player name resetting to IP if blank) --- diff --git a/qcsrc/server/cl_client.qc b/qcsrc/server/cl_client.qc index 673bf6167..4b9d9294c 100644 --- a/qcsrc/server/cl_client.qc +++ b/qcsrc/server/cl_client.qc @@ -2294,7 +2294,7 @@ void PlayerPreThink (void) // Savage: Check for nameless players if (isInvisibleString(self.netname)) { - string new_name = strzone(strcat("Player@", self.netaddress)); + string new_name = strzone(strcat("Player@", ftos(self.playerid))); if(autocvar_sv_eventlog) GameLogEcho(strcat(":name:", ftos(self.playerid), ":", new_name)); if(self.netname_previous)