Skip to content

Commit

Permalink
Fixed mapmerger not using index 0 from map list.
Browse files Browse the repository at this point in the history
  • Loading branch information
xxalpha committed Feb 27, 2016
1 parent cd6d680 commit f0c1389
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/mapmerge/mapmerger.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def main(map_folder, tgm=0):
valid_indices = list()
for m in in_list:
index = string_to_num(m)
if index > 0 and index < len(list_of_files):
if index >= 0 and index < len(list_of_files):
valid_indices.append(index)

if tgm == "1":
Expand Down

0 comments on commit f0c1389

Please sign in to comment.