1
This commit is contained in:
parent
e9c34f6419
commit
95464e9702
2
hlna.py
2
hlna.py
@ -489,7 +489,7 @@ def modextract(id_mod, id_game_workshop):
|
||||
os.remove(f"{dir_extract}/.mod")
|
||||
|
||||
modfile_bytes = b''
|
||||
with open(os.path.join(dir_steam_workshop, 'mod.info'), 'rb') as f:
|
||||
with open(os.path.join(dir_ark_mods, 'mod.info'), 'rb') as f:
|
||||
data = f.read()
|
||||
mapnamelen = struct.unpack_from('<L', data, offset=0)
|
||||
mapnamelen = mapnamelen[0]
|
||||
|
Loading…
Reference in New Issue
Block a user