Skip to content

Commit

Permalink
One of these days I promise I will learn to code.
Browse files Browse the repository at this point in the history
  • Loading branch information
ActuallyTrent authored Aug 3, 2016
1 parent 82f4513 commit 65bb1af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PoGo.PokeMobBot.Logic/Tasks/FarmPokestopsTask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ private static async Task<List<FortData>> GetPokeStops(ISession session)
i.CooldownCompleteTimestampMs < DateTime.UtcNow.ToUnixTime() &&
( // Make sure PokeStop is within max travel distance, unless it's set to 0.
LocationUtils.CalculateDistanceInMeters(
session.Client.CurrentLatitude, session.Client.CurrentLongitude,
session.Settings.DefaultLatitude, session.Settings.DefaultLongitude,
i.Latitude, i.Longitude) < session.LogicSettings.MaxTravelDistanceInMeters) ||
session.LogicSettings.MaxTravelDistanceInMeters == 0
);
Expand Down

0 comments on commit 65bb1af

Please sign in to comment.