Skip to content

Commit

Permalink
Spin pokestops if distance minor 30m
Browse files Browse the repository at this point in the history
  • Loading branch information
NoxxDev committed Aug 27, 2016
1 parent abf474a commit d89130f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PoGo.NecroBot.Logic/Strategies/Walk/BaseWalkStrategy.cs
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ public async Task<PlayerUpdateResponse> DoWalk(List<GeoCoordinate> points, ISess
result = await LocationUtils.UpdatePlayerLocationWithAltitude(session, waypoint);

var realDistanceToTarget = LocationUtils.CalculateDistanceInMeters(currentLocation, targetLocation);
if (realDistanceToTarget < 10)
if (realDistanceToTarget < 30)
break;

do
Expand Down

0 comments on commit d89130f

Please sign in to comment.