diff --git a/PoGo.NecroBot.Logic/Tasks/UseNearbyPokestopsTask.cs b/PoGo.NecroBot.Logic/Tasks/UseNearbyPokestopsTask.cs index 33212e570..cb510a261 100644 --- a/PoGo.NecroBot.Logic/Tasks/UseNearbyPokestopsTask.cs +++ b/PoGo.NecroBot.Logic/Tasks/UseNearbyPokestopsTask.cs @@ -70,7 +70,7 @@ private static async Task> GetPokeStops(Context ctx) i.CooldownCompleteTimestampMs < DateTime.UtcNow.ToUnixTime() && ( // Make sure PokeStop is within 40 meters or else it is pointless to hit it LocationUtils.CalculateDistanceInMeters( - ctx.Settings.DefaultLatitude, ctx.Settings.DefaultLongitude, + ctx.Client.CurrentLatitude, ctx.Client.CurrentLongitude, i.Latitude, i.Longitude) < 40) || ctx.LogicSettings.MaxTravelDistanceInMeters == 0 );