Skip to content

Commit 8179ff6

Browse files
committed
Fix initdata parsing for base_build 23260 replays.
1 parent 79ddc88 commit 8179ff6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sc2reader/readers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def __call__(self, data, replay):
105105
is_single_player=data.read_bool(),
106106
game_duration=data.read_uint32(),
107107
default_difficulty=data.read_bits(6),
108-
default_ai_build=data.read_bits(7) if replay.base_build >= 23260 else None,
108+
default_ai_build=data.read_bits(7) if replay.base_build >= 24764 else None,
109109
),
110110
)
111111
if not data.done():

0 commit comments

Comments
 (0)