mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-10 01:49:19 +00:00
[MIRROR] Fixes mapmerge (#1296)
* Fixes mapmerge * Update mapmerger.py * Delete mapmerger.py.rej
This commit is contained in:
committed by
Poojawa
parent
f3ec10704c
commit
92da94ca2a
@@ -4,7 +4,7 @@ import shutil
|
||||
|
||||
#main("../../_maps/")
|
||||
def main(map_folder, tgm=0):
|
||||
valid_indices = map_helpers.prompt_maps(map_folder, "merge", tgm)
|
||||
maps = map_helpers.prompt_maps(map_folder, "merge", tgm)
|
||||
|
||||
print("\nMerging these maps:")
|
||||
for i in maps.indices:
|
||||
@@ -15,8 +15,8 @@ def main(map_folder, tgm=0):
|
||||
print("\nAborted map merge.")
|
||||
sys.exit()
|
||||
else:
|
||||
for i in valid_indices:
|
||||
path_str = str(list_of_files[i])
|
||||
for i in maps.indices:
|
||||
path_str = str(maps.files[i])
|
||||
shutil.copyfile(path_str, path_str + ".before")
|
||||
path_str_pretty = path_str[len(map_folder):]
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user