Skip to content

Commit 46f116d

Browse files
committed
Do not parse de_unknown8 if save version is not at least 61.5
1 parent bb7826a commit 46f116d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mgz/header/objects.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@
443443
"de_unknown9"/Bytes(4)
444444
),
445445
Struct(
446-
"de_unknown8"/Bytes(2)
446+
"de_unknown8"/If(lambda ctx: find_save_version(ctx) >= 61.5, Bytes(2))
447447
)
448448
)
449449
),

0 commit comments

Comments
 (0)