diff --git a/hlna.py b/hlna.py index c72723b..7e3e65f 100755 --- a/hlna.py +++ b/hlna.py @@ -520,9 +520,6 @@ def modextract(id_mod, id_game_workshop): 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(f"{dir_extract}.mod", 'wb') as f: - f.write(modfile_bytes) - if dir_extract != dir_ark_mods: if not os.path.isdir(dir_ark_mods): os.makedirs(dir_ark_mods)