We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d392d4 commit 11ea132Copy full SHA for 11ea132
sc2reader/resources.py
@@ -982,7 +982,7 @@ def load_players(self):
982
if not struct[0][1]: continue # Slot is closed
983
984
player = PlayerSummary(struct[0][0])
985
- stats = self.player_stats[index]
+ stats = self.player_stats.get(index, dict())
986
settings = self.player_settings[index]
987
player.is_ai = not isinstance(struct[0][1], dict)
988
if not player.is_ai:
0 commit comments