Skip to content

Commit

Permalink
Merge pull request #4491 from alexyaoyang/bug-follow-path-always-stop…
Browse files Browse the repository at this point in the history
…s-after-1-lap

Fix FollowPath bug
  • Loading branch information
solderzzc authored Aug 21, 2016
2 parents c4d651c + 5210735 commit 664d741
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pokemongo_bot/cell_workers/follow_path.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,8 @@ def work(self):
'number_lap_max': str(self.number_lap_max)
}
)
if self.number_lap >= self.number_lap_max:
self.endLaps()
if self.number_lap >= self.number_lap_max:
self.endLaps()
else:
self.ptr += 1

Expand Down

0 comments on commit 664d741

Please sign in to comment.