diff --git a/hlna.py b/hlna.py index 61740d0..3b9ecbd 100755 --- a/hlna.py +++ b/hlna.py @@ -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: