From 0e1d4459dd58b4b6e21603fa9a5eb057bd317142 Mon Sep 17 00:00:00 2001 From: xpamych Date: Sun, 14 May 2023 17:36:39 +0300 Subject: [PATCH] 1 --- hlna.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: