aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2023-02-09 22:43:00 +0000
committerJuan J. Martinez <jjm@usebox.net>2023-02-09 22:43:00 +0000
commit84057b11507a1434a9f189bca2fdb71df294c572 (patch)
tree298d0f36176f0c49e042b37165a1c2d40abcb1b0 /src
parentc2fb8cd922032e24962bc3aef65d5428c5361957 (diff)
downloadspace-plat-hs-84057b11507a1434a9f189bca2fdb71df294c572.tar.gz
space-plat-hs-84057b11507a1434a9f189bca2fdb71df294c572.zip
Better message
Diffstat (limited to 'src')
-rw-r--r--src/Game/Map.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Game/Map.hs b/src/Game/Map.hs
index b872f4c..a1c7e84 100644
--- a/src/Game/Map.hs
+++ b/src/Game/Map.hs
@@ -101,7 +101,7 @@ load filename tex = do
blockedLayers = mapMaybe (filterTileLayer (\l -> l.name == "Blocked")) s.layers
blockedLayer <- case blockedLayers of
[l] -> pure l
- xs -> error $ "1 \"Blocked\" layer expected, " ++ show (length xs) ++ " found"
+ xs -> error $ "A single \"Blocked\" layer expected, " ++ show (length xs) ++ " found"
pure $
Map
MapData