Skip to content

Commit

Permalink
Revert "corrected logic to respect snipe = true" (#4857)
Browse files Browse the repository at this point in the history
  • Loading branch information
mjmadsen committed Aug 28, 2016
1 parent 5a1e246 commit 4dd28e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pokemongo_bot/cell_workers/move_to_map_pokemon.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def get_pokemon_from_social(self):
pokemon['longitude'],
)

if pokemon['dist'] > self.config['max_distance'] and not self.config['snipe']:
if pokemon['dist'] > self.config['max_distance'] or not self.config['snipe']:
continue

# pokemon not reachable with mean walking speed (by config)
Expand Down

0 comments on commit 4dd28e3

Please sign in to comment.