From a255e47756598aea7a47e231c8dc133ab35c9dfb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Wed, 26 Feb 2020 21:58:38 +0100 Subject: [PATCH] Sort the maps at least partialy according to the file names --- scripts/mapgen.py | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/mapgen.py b/scripts/mapgen.py index a137345..d81a1b0 100755 --- a/scripts/mapgen.py +++ b/scripts/mapgen.py @@ -299,6 +299,7 @@ def processmaps(maps, htmlfile): htmlfile.write("\n\n") i = 0 + maps.sort() for xmlfile in maps: shutil.copyfile(xmlfile, "../maps/" + os.path.basename(xmlfile)) info = mapinfo(xmlfile)