From 72e39bc58005f21402dea3894ef73f6a8fd65bd7 Mon Sep 17 00:00:00 2001 From: xpamych Date: Sun, 14 May 2023 17:38:28 +0300 Subject: [PATCH] 1 --- hlna.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hlna.py b/hlna.py index 3b9ecbd..f713b32 100755 --- a/hlna.py +++ b/hlna.py @@ -520,7 +520,7 @@ 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(dir_extract + '.mod', 'wb') as f: + with open(dir_extract + f'{id_mod}.mod', 'wb') as f: f.write(modfile_bytes) if dir_extract != dir_ark_mods: