From a65880a11878a9b8e08174b7c897894b2a81a226 Mon Sep 17 00:00:00 2001 From: davidovski Date: Mon, 10 Jul 2023 17:29:00 +0100 Subject: exit when map load fails --- tools/createmap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') 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") -- cgit v1.2.1