We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b91ec50 commit bd5518fCopy full SHA for bd5518f
pokemongo_bot/cell_workers/move_to_fort_worker.py
@@ -57,7 +57,7 @@ def work(self):
57
return WorkerResult.SUCCESS
58
59
def get_nearest_fort(self):
60
- forts = self.bot.get_forts()
+ forts = self.bot.get_forts(order_by_distance=True)
61
62
# Remove stops that are still on timeout
63
forts = filter(lambda x: x["id"] not in self.fort_timeouts, forts)
0 commit comments