Skip to content

Commit 3d230b4

Browse files
author
Morgan
committed
Deheader if 64.3 and gametype == 5 1 -> 4, 4 bytes not just 1
1 parent 3d631fb commit 3d230b4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mgz/header/de.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@
162162
If(lambda ctx: find_save_version(ctx) >= 50, Bytes(8)),
163163
If(lambda ctx: find_save_version(ctx) >= 61.5, Flag),
164164
If(lambda ctx: find_save_version(ctx) >= 63, Bytes(5)),
165-
If(lambda ctx: find_save_version(ctx) >= 64.3 and ctx.game_type == 5, Bytes(1)), # Campaign ?
165+
If(lambda ctx: find_save_version(ctx) >= 64.3 and ctx.game_type == 5, Bytes(4)), # Campaign ?
166166
de_string,
167167
Bytes(5),
168168
If(lambda ctx: find_save_version(ctx) >= 13.13, Byte),

0 commit comments

Comments
 (0)