summaryrefslogtreecommitdiff
path: root/testxml/testxml.py
diff options
context:
space:
mode:
Diffstat (limited to 'testxml/testxml.py')
-rwxr-xr-xtestxml/testxml.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/testxml/testxml.py b/testxml/testxml.py
index 86a6cae..10a4d60 100755
--- a/testxml/testxml.py
+++ b/testxml/testxml.py
@@ -1125,7 +1125,7 @@ def testCollisionLayer(file, layer):
if y2 < 0:
y2 = 0
- if arr is None:
+ if arr is None :
return tileset
for x in range(0, layer.width):
@@ -1142,6 +1142,7 @@ def testCollisionLayer(file, layer):
if haveTiles == False:
showMsgFile(file, "empty collision layer", False)
+ return set()
return tileset