This commit is contained in:
Евгений Храмов 2023-05-14 17:36:39 +03:00
parent 95464e9702
commit 0e1d4459dd

@ -517,7 +517,7 @@ def modextract(id_mod, id_game_workshop):
with open(f"{dir_extract}.mod", "ab") as f_out:
f_out.write(f.read())
else:
with open(f"{dir_extract}.mod", "wb") as f_out:
with open(f"{dir_mods_ark}.mod", "wb") as f_out:
f_out.write(b'\x01\x00\x00\x00\x08\x00\x00\x00ModType\x00\x02\x00\x00\x001\x00')
with open(dir_extract + '.mod', 'wb') as f: