Skip to content

Commit 98b28a8

Browse files
committed
Revert Team Count to a string to support its 'Custom' value.
1 parent 17d94f1 commit 98b28a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sc2reader/constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@
317317
'FFA': 'FFA',
318318
}),
319319

320-
0x07D0: ("Team Count", lambda value: int(value[1:])),
320+
0x07D0: ("Team Count", lambda value: value), #T1,2,3,4,5,6, or Custom
321321
0x07D2: ("Teams1v1", lambda value: int(value[1:])),
322322
0x07D3: ("Teams2v2", lambda value: int(value[1:])),
323323
0x07D4: ("Teams3v3", lambda value: int(value[1:])),

0 commit comments

Comments
 (0)