Browse Source

Strategícká: Fix key error

master
David Klement 2 years ago
parent
commit
de72cb8499
  1. 2
      klient/play.py

2
klient/play.py

@ -152,7 +152,7 @@ class State:
parsed_field.protected_for_team.protected_fields.append(parsed_field) parsed_field.protected_for_team.protected_fields.append(parsed_field)
members = [] members = []
for member in field["members"]: for member in field["members"]:
member_team = self.teams[member["team_id"]] member_team = self.teams[member["team"]]
m = Member( m = Member(
parsed_field, parsed_field,
member_team, member_team,

Loading…
Cancel
Save