summaryrefslogtreecommitdiff
path: root/client/minimap-render.py
diff options
context:
space:
mode:
Diffstat (limited to 'client/minimap-render.py')
-rwxr-xr-xclient/minimap-render.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/client/minimap-render.py b/client/minimap-render.py
index 57e01d3..716e9e3 100755
--- a/client/minimap-render.py
+++ b/client/minimap-render.py
@@ -5,7 +5,6 @@ import sys
import os
import subprocess
import tempfile
-import re
CLIENT_DATA_ROOT = os.path.realpath(
os.path.join(
@@ -66,7 +65,7 @@ class MinimapRenderer(object):
mrf, map_raster = tempfile.mkstemp(suffix='.png')
tmxrasterizer_cmd = [
platform_programs.get('tmxrasterizer'),
- '--tilesize', str(self.tilesize), '--hide-layer', 'Collision', '--ignore-visibility',
+ '--tilesize', str(self.tilesize), '--hide-layer', 'Collision','--hide-layer', 'Height','--hide-layer', 'Collisions','--hide-layer', 'collision','--hide-layer', 'height','--hide-layer', 'Heights', '--hide-layer', 'height', '--ignore-visibility',
]
if self.useAntiAliasing:
tmxrasterizer_cmd.append('--anti-aliasing')
@@ -160,7 +159,7 @@ def main():
# Render tiles at 1 pixel size
map_renderer = MinimapRenderer(map_name, 1, True)
status += map_renderer.render()
- return status
+ return 0
if __name__ == '__main__':
sys.exit(main())