Skip to content

Commit

Permalink
Fix one more forgotten line
Browse files Browse the repository at this point in the history
  • Loading branch information
cmezh committed Aug 11, 2016
1 parent a8edc57 commit 5fda3c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pokemongo_bot/cell_workers/pokemon_catch_worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ def _do_catch(self, pokemon, encounter_id, catch_rate_by_ball, is_vip=False):

# try to catch pokemon!
ball_count = self.inventory.count_for(current_ball) - 1
self.inventory.update_local_count(current_ball, ball_count)
self.inventory.decrement_count(current_ball)
self.emit_event(
'threw_pokeball',
formatted='Used {ball_name}, with chance {success_percentage} ({count_left} left)',
Expand Down

0 comments on commit 5fda3c4

Please sign in to comment.