1
This commit is contained in:
parent
930c11681b
commit
e1bd358a6d
2
hlna.py
2
hlna.py
@ -499,7 +499,7 @@ def modextract(id_mod, id_game_workshop):
|
||||
pos = mapnamelen + 8
|
||||
modname = (modname.encode() or mapname.decode()) + b'\x00'
|
||||
modnamelen = len(modname)
|
||||
modpath = b"../../../" + str(dir_shooter).encode() + b"/Content/Mods/" + id_mod + b'\x00'
|
||||
modpath = b"../../../" + dir_shooter.encode() + b"/Content/Mods/" + modid.encode() + b'\x00'
|
||||
modpathlen = len(modpath)
|
||||
with open(f"{dir_ark_mods}.mod", "wb") as mod:
|
||||
print(type(modnamelen))
|
||||
|
Loading…
Reference in New Issue
Block a user