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 981e81d commit b49ab91Copy full SHA for b49ab91
sc2reader/resources.py
@@ -920,6 +920,8 @@ def load_players(self):
920
self.observers.append(player)
921
continue
922
923
+ player.play_race = RACE_CODES[struct[2]]
924
+
925
player.is_winner = isinstance(struct[1],dict) and struct[1][0] == 0
926
if player.is_winner:
927
self.winners.append(player.pid)
@@ -933,7 +935,7 @@ def load_players(self):
933
935
# We can just copy these settings right over
934
936
# TODO: Get the hex from the color string?
937
player.color = settings.get('Color', None)
- player.race = settings.get('Race', None)
938
+ player.pick_race = settings.get('Race', None)
939
player.handicap = settings.get('Handicap', None)
940
941
# Overview Tab
0 commit comments