diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-06-25 23:04:53 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-06-25 23:04:53 +0300 |
commit | a2cf331e385671dca580773eb66403b94f06d69a (patch) | |
tree | 4985bc5e78b64e2f2d1860288b7cfe92c2c08e32 /hercules | |
parent | 2823a6f2c95d2194e4c8dd0fbb2a63828b746639 (diff) | |
download | evol-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')
-rw-r--r-- | hercules/code/clienttoserver/maps.py | 2 |
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 |