Skip to content

Commit

Permalink
Fix for bad_pokemon
Browse files Browse the repository at this point in the history
  • Loading branch information
davidakachaos committed Jul 11, 2017
1 parent fdd517e commit 429b49a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pokemongo_bot/inventory.py
Original file line number Diff line number Diff line change
Expand Up @@ -1001,6 +1001,7 @@ def __init__(self, data):
self.in_fort = 'deployed_fort_id' in data
self.is_favorite = data.get('favorite', 0) is 1
self.buddy_candy = data.get('buddy_candy_awarded', 0)
self.is_bad = data.get('is_bad', False)
self.buddy_distance_needed = self.static.buddy_distance_needed

self.fast_attack = FastAttacks.data_for(data['move_1'])
Expand Down

0 comments on commit 429b49a

Please sign in to comment.