diff --git a/pythonlib/formats/rebirth/pak2.py b/pythonlib/formats/rebirth/pak2.py index 25d19da..232e91e 100644 --- a/pythonlib/formats/rebirth/pak2.py +++ b/pythonlib/formats/rebirth/pak2.py @@ -85,14 +85,13 @@ def create_pak2(data: pak2_file)->bytes: offsets_new = [] offsets_new.append(output.tell()) - # theirsce - offsets_new.append(insert_padded_chunk(output, data.chunks.theirsce)) - - # lipsync + # lipsync & theirsce if data.chunks.lipsync: + offsets_new.append(insert_padded_chunk(output, data.chunks.theirsce)) offsets_new.append(insert_padded_chunk(output, data.chunks.lipsync)) else: offsets_new.append(0) + offsets_new.append(insert_padded_chunk(output, data.chunks.theirsce)) # unused offsets_new.append(insert_padded_chunk(output, data.chunks.unused))