From 0bb501ee536c2bd071c98d5008928ba5bf34a0b9 Mon Sep 17 00:00:00 2001 From: Ingwar Wirjawan Date: Sat, 3 Sep 2016 02:36:22 +0700 Subject: [PATCH] #5099 (#5102) --- pokemongo_bot/cell_workers/incubate_eggs.py | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/pokemongo_bot/cell_workers/incubate_eggs.py b/pokemongo_bot/cell_workers/incubate_eggs.py index c034dcbd29..4aa590d16d 100644 --- a/pokemongo_bot/cell_workers/incubate_eggs.py +++ b/pokemongo_bot/cell_workers/incubate_eggs.py @@ -176,14 +176,10 @@ def _check_inventory(self, lookup_ids=[]): continue if "player_stats" in inv_data: self.km_walked = inv_data.get("player_stats", {}).get("km_walked", 0) - if temp_used_incubators: - self.used_incubators = temp_used_incubators - if temp_ready_breakable_incubators: - self.ready_breakable_incubators = temp_ready_breakable_incubators - if temp_ready_infinite_incubators: - self.ready_infinite_incubators = temp_ready_infinite_incubators - if temp_eggs: - self.eggs = temp_eggs + self.used_incubators = temp_used_incubators + self.ready_breakable_incubators = temp_ready_breakable_incubators + self.ready_infinite_incubators = temp_ready_infinite_incubators + self.eggs = temp_eggs return matched_pokemon def _hatch_eggs(self):