Skip to content

Commit c6d585f

Browse files
committed
Fix reference to replay.people
1 parent 12c530c commit c6d585f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sc2reader/resources.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -455,8 +455,8 @@ def get_team(team_id):
455455
# Pretty sure this just never worked, forget about it for now
456456
self.recorder = None
457457

458-
player_names = sorted(map(lambda p: p.name, self.people))
459-
hash_input = self.gateway+":"+','.join(player_names)
458+
entity_names = sorted(map(lambda p: p.name, self.entities))
459+
hash_input = self.gateway+":"+','.join(entity_names)
460460
self.people_hash = hashlib.sha256(hash_input.encode('utf8')).hexdigest()
461461

462462
# The presence of observers and/or computer players makes this not actually ladder

0 commit comments

Comments
 (0)