summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2023-07-10 17:29:00 +0100
committerdavidovski <david@davidovski.xyz>2023-07-10 17:29:00 +0100
commita65880a11878a9b8e08174b7c897894b2a81a226 (patch)
treec6f8b4ca477a90bdac425f2b811deebd1ba8e3ce /tools
parent9c8b526991b68439284bee0936b90079943b249b (diff)
exit when map load fails
Diffstat (limited to 'tools')
-rwxr-xr-xtools/createmap.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/createmap.py b/tools/createmap.py
index 6deb0aa..1d6a852 100755
--- a/tools/createmap.py
+++ b/tools/createmap.py
@@ -9,7 +9,7 @@ ATLASFILE = "atlas.png"
TILESIZE = 16
WIDTH = 2**10
-HEIGHT = 2**11
+HEIGHT = 2**10
# create atlas bytes
image = Image.open(ATLASFILE).convert("RGBA")