update to MaxMind GeoIP2 .NET version 2.1.0
https://github.com/maxmind/GeoIP2-dotnet/releases/tag/v2.1.0
This commit is contained in:
@@ -233,7 +233,7 @@ namespace OpenRA.Mods.RA.Widgets.Logic
|
||||
{
|
||||
try
|
||||
{
|
||||
return Game.GeoIpDatabase.Omni(ip).Country.Name;
|
||||
return Game.GeoIpDatabase.Country(ip).Country.Name;
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user