Skip to content

Commit

Permalink
corrected logic to respect snipe = true (#4855)
Browse files Browse the repository at this point in the history
  • Loading branch information
DBa2016 authored and mjmadsen committed Aug 28, 2016
1 parent 6acdc53 commit 5a1e246
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'] or not self.config['snipe']:
if pokemon['dist'] > self.config['max_distance'] and not self.config['snipe']:
continue

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

0 comments on commit 5a1e246

Please sign in to comment.