Skip to content

Commit

Permalink
Merge pull request #6079 from davidakachaos/bad_pokemon_fix
Browse files Browse the repository at this point in the history
Fix for bad_pokemon
  • Loading branch information
MerlionRock authored Jul 11, 2017
2 parents fdd517e + 429b49a commit 051c8b0
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 051c8b0

Please sign in to comment.