Skip to content

Commit 7271341

Browse files
author
Marcel
authored
Merge pull request jekirl#346 from destiny117/develop
fix incomplete merge
2 parents 4283fa8 + b525525 commit 7271341

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pgoapi/pgoapi.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -528,8 +528,7 @@ def walk_back_to_origin(self):
528528
def spin_nearest_fort(self):
529529
map_cells = self.nearby_map_objects()['responses'].get('GET_MAP_OBJECTS', {}).get('map_cells', [])
530530
forts = PGoApi.flatmap(lambda c: c.get('forts', []), map_cells)
531-
destinations = filtered_forts(self._origPosF, self._posf, forts, self.STAY_WITHIN_PROXIMITY, self.visited_forts,
532-
self.experimental)
531+
destinations = filtered_forts(self._origPosF, self._posf, forts, self.STAY_WITHIN_PROXIMITY, self.visited_forts)
533532
if destinations:
534533
nearest_fort = destinations[0][0]
535534
nearest_fort_dis = destinations[0][1]

0 commit comments

Comments
 (0)