@@ -19,7 +19,7 @@ def __call__(self, data, replay):
19
19
user_initial_data = [dict (
20
20
name = data .read_aligned_string (data .read_uint8 ()),
21
21
clan_tag = data .read_aligned_string (data .read_uint8 ()) if replay .base_build >= 24764 and data .read_bool () else None ,
22
- clan_logo = data .read_aligned_string (40 ) if replay .base_build >= 27950 and data .read_bool () else None ,
22
+ clan_logo = DepotFile ( data .read_aligned_bytes (40 ) ) if replay .base_build >= 27950 and data .read_bool () else None ,
23
23
highest_league = data .read_uint8 () if replay .base_build >= 24764 and data .read_bool () else None ,
24
24
combined_race_levels = data .read_uint32 () if replay .base_build >= 24764 and data .read_bool () else None ,
25
25
random_seed = data .read_uint32 (),
@@ -1457,7 +1457,7 @@ def hijack_replay_game_event(self, data):
1457
1457
name = data .read_aligned_string (data .read_uint8 ()),
1458
1458
toon_handle = data .read_aligned_string (data .read_bits (7 )) if data .read_bool () else None ,
1459
1459
clan_tag = data .read_aligned_string (data .read_uint8 ()) if data .read_bool () else None ,
1460
- clan_logo = data .read_aligned_string (40 ) if data .read_bool () else None ,
1460
+ clan_logo = DepotFile ( data .read_aligned_bytes (40 ) ) if data .read_bool () else None ,
1461
1461
) for i in range (data .read_bits (5 ))],
1462
1462
method = data .read_bits (1 ),
1463
1463
)
@@ -1480,7 +1480,7 @@ def game_user_join_event(self, data):
1480
1480
name = data .read_aligned_string (data .read_bits (8 )),
1481
1481
toon_handle = data .read_aligned_string (data .read_bits (7 )) if data .read_bool () else None ,
1482
1482
clan_tag = data .read_aligned_string (data .read_uint8 ()) if data .read_bool () else None ,
1483
- clan_logo = data .read_aligned_string (40 ) if data .read_bool () else None ,
1483
+ clan_logo = DepotFile ( data .read_aligned_bytes (40 ) ) if data .read_bool () else None ,
1484
1484
)
1485
1485
1486
1486
0 commit comments