summaryrefslogtreecommitdiff
path: root/hercules/code
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-06-25 23:04:53 +0300
committerAndrei Karas <akaras@inbox.ru>2016-06-25 23:04:53 +0300
commita2cf331e385671dca580773eb66403b94f06d69a (patch)
tree4985bc5e78b64e2f2d1860288b7cfe92c2c08e32 /hercules/code
parent2823a6f2c95d2194e4c8dd0fbb2a63828b746639 (diff)
downloadevol-tools-a2cf331e385671dca580773eb66403b94f06d69a.tar.gz
evol-tools-a2cf331e385671dca580773eb66403b94f06d69a.tar.bz2
evol-tools-a2cf331e385671dca580773eb66403b94f06d69a.tar.xz
evol-tools-a2cf331e385671dca580773eb66403b94f06d69a.zip
hercules: ignore collision layer name case in converter.
Diffstat (limited to 'hercules/code')
-rw-r--r--hercules/code/clienttoserver/maps.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/hercules/code/clienttoserver/maps.py b/hercules/code/clienttoserver/maps.py
index b138642..aba9ff6 100644
--- a/hercules/code/clienttoserver/maps.py
+++ b/hercules/code/clienttoserver/maps.py
@@ -42,7 +42,7 @@ def recreateMapCache():
name = tileset.attributes["name"].value
except:
name = ""
- if name == "Collision":
+ if name.lower() == "collision":
firstgid = int(tileset.attributes["firstgid"].value)
break