diff options
author | davidovski <david@davidovski.xyz> | 2023-07-10 17:29:00 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2023-07-10 17:29:00 +0100 |
commit | a65880a11878a9b8e08174b7c897894b2a81a226 (patch) | |
tree | c6f8b4ca477a90bdac425f2b811deebd1ba8e3ce /tools | |
parent | 9c8b526991b68439284bee0936b90079943b249b (diff) |
exit when map load fails
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/createmap.py | 2 |
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") |