[FIX] so double.Parse will work with . for all cultures. (#75)

Patrik [2016-07-21 00:30:59]
[FIX] so double.Parse will work with . for all cultures. (#75)
Filename
PokemonGo/RocketAPI/Console/Settings.cs
diff --git a/PokemonGo/RocketAPI/Console/Settings.cs b/PokemonGo/RocketAPI/Console/Settings.cs
index 0283133..149e634 100644
--- a/PokemonGo/RocketAPI/Console/Settings.cs
+++ b/PokemonGo/RocketAPI/Console/Settings.cs
@@ -11,8 +11,8 @@ namespace PokemonGo.RocketAPI.Console
         public AuthType AuthType => (AuthType)Enum.Parse(typeof(AuthType), GetSetting());
         public  string PtcUsername => GetSetting() != string.Empty ? GetSetting() : "username";
         public  string PtcPassword => GetSetting() != string.Empty? GetSetting() : "password";
-        public double DefaultLatitude => GetSetting() != string.Empty ? double.Parse(GetSetting()) : 52.379189; //Default Amsterdam Central Station
-        public double DefaultLongitude => GetSetting() != string.Empty ? double.Parse(GetSetting()) : 4.899431;//Default Amsterdam Central Station
+        public double DefaultLatitude => GetSetting() != string.Empty ? double.Parse(GetSetting(), CultureInfo.InvariantCulture) : 52.379189; //Default Amsterdam Central Station
+        public double DefaultLongitude => GetSetting() != string.Empty ? double.Parse(GetSetting(),CultureInfo.InvariantCulture) : 4.899431;//Default Amsterdam Central Station
         public  string GoogleRefreshToken
         {
             get { return GetSetting() != string.Empty ? GetSetting() : string.Empty; }
You may download the files in Public Git.