str({dir_shooter})
This commit is contained in:
		
							
								
								
									
										2
									
								
								hlna.py
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								hlna.py
									
									
									
									
									
								
							| @@ -499,7 +499,7 @@ def modextract(id_mod, id_game_workshop): | ||||
|         pos = mapnamelen + 8 | ||||
|         modname = (modname or mapname) | ||||
|         modnamelen = len(modname) | ||||
|         modpath = f"../../../" + {dir_shooter} + "/Content/Mods/" + id_mod | ||||
|         modpath = f"../../../" + str({dir_shooter}) + "/Content/Mods/" + id_mod | ||||
|         modpathlen = len(modpath) | ||||
|         with open(f"{dir_ark_mods}.mod", "wb") as mod: | ||||
|             mod.write(struct.pack('<LLL{}sL{}sL'.format(modnamelen, modpathlen), int(id_mod), 0, modnamelen, modname, modpathlen, modpath, nummaps)) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user