Disable IP tooltip in skirmish games.
This commit is contained in:
@@ -349,7 +349,7 @@ namespace OpenRA.Server
|
|||||||
{
|
{
|
||||||
Name = OpenRA.Settings.SanitizedPlayerName(handshake.Client.Name),
|
Name = OpenRA.Settings.SanitizedPlayerName(handshake.Client.Name),
|
||||||
IPAddress = ipAddress.ToString(),
|
IPAddress = ipAddress.ToString(),
|
||||||
AnonymizedIPAddress = Settings.ShareAnonymizedIPs ? Session.AnonymizeIP(ipAddress) : null,
|
AnonymizedIPAddress = Type != ServerType.Local && Settings.ShareAnonymizedIPs ? Session.AnonymizeIP(ipAddress) : null,
|
||||||
Location = GeoIP.LookupCountry(ipAddress),
|
Location = GeoIP.LookupCountry(ipAddress),
|
||||||
Index = newConn.PlayerIndex,
|
Index = newConn.PlayerIndex,
|
||||||
PreferredColor = handshake.Client.PreferredColor,
|
PreferredColor = handshake.Client.PreferredColor,
|
||||||
|
|||||||
Reference in New Issue
Block a user