Skip to content

Commit

Permalink
Patch snipey in move_to_map_pokemon.py (#4146)
Browse files Browse the repository at this point in the history
to solve issue #4142
  • Loading branch information
Gurzeh authored and brantje committed Aug 17, 2016
1 parent 41d5628 commit 0233882
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 @@ -217,7 +217,7 @@ def snipe(self, pokemon):
last_position = self.bot.position[0:2]
self.bot.heartbeat()
self._teleport_to(pokemon)
catch_worker = PokemonCatchWorker(pokemon, self.bot)
catch_worker = PokemonCatchWorker(pokemon, self.bot, self.config)
api_encounter_response = catch_worker.create_encounter_api_call()
time.sleep(SNIPE_SLEEP_SEC)
self._teleport_back(last_position)
Expand Down

0 comments on commit 0233882

Please sign in to comment.