summaryrefslogtreecommitdiff
path: root/hercules
diff options
context:
space:
mode:
Diffstat (limited to 'hercules')
-rw-r--r--hercules/code/clienttoserver/maps.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/hercules/code/clienttoserver/maps.py b/hercules/code/clienttoserver/maps.py
index e7949fb..055255a 100644
--- a/hercules/code/clienttoserver/maps.py
+++ b/hercules/code/clienttoserver/maps.py
@@ -14,7 +14,11 @@ from xml.dom import minidom
from code.fileutils import *
def getTmxFiles(srcDir):
+ names = []
for name in os.listdir(srcDir):
+ names.append(name)
+ names.sort()
+ for name in names:
fileName = srcDir + name
if os.path.isfile(fileName) == False:
continue