We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 184b6ac commit f4733cbCopy full SHA for f4733cb
1 file changed
Model.py
@@ -310,7 +310,7 @@ def _handle_pick_message(self, msg):
310
self.my_heroes.append(my_hero)
311
for hero in opp_heroes:
312
for first_hero in self.heroes:
313
- if hero["type"] == first_hero.name:
+ if HeroName[hero["type"]] == first_hero.name:
314
opp_hero = copy.copy(first_hero)
315
opp_hero.id = hero["id"]
316
opp_hero.update_abilities([Ability(self._get_ability_constants(ability_name), 0) for ability_name
0 commit comments