Skip to content

Commit 023e4df

Browse files
committed
Fix to new is_ladder logic.
1 parent b0b8d2f commit 023e4df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sc2reader/resources.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ def createPlayer(pid, pdata, attributes):
456456
# This became an issue in HotS where Training, vs AI, Unranked, and Ranked
457457
# were all marked with "amm" => Ladder
458458
if len(self.observers) > 0 or len(self.humans) != len(self.players):
459-
replay.is_ladder = False
459+
self.is_ladder = False
460460

461461
def load_messages(self):
462462
if 'replay.message.events' in self.raw_data:

0 commit comments

Comments
 (0)