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 f8665d6 commit b641a6bCopy full SHA for b641a6b
sc2reader/replay.py
@@ -228,11 +228,11 @@ def load_players(self):
228
player.team = self.team[team_number]
229
230
# Do basic win/loss processing from details data
231
- if pdata.result == 1:
232
- player.team.result = "Win"
233
- self.winner_known = True
234
- elif pdata.result == 2:
235
- player.team.result = "Loss"
+ if pdata.result == 1:
+ player.team.result = "Win"
+ self.winner_known = True
+ elif pdata.result == 2:
+ player.team.result = "Loss"
236
237
player.pick_race = attributes['Race']
238
player.play_race = LOCALIZED_RACES.get(pdata.race, pdata.race)
0 commit comments