Skip to content
Snippets Groups Projects
Commit e2d62772 authored by stuebinm's avatar stuebinm
Browse files

require mapCopyright to be set

parent 6cfdefc3
No related branches found
No related tags found
No related merge requests found
......@@ -68,6 +68,9 @@ checkMap = do
unless (tiledmapTileheight tiledmap == 32 && tiledmapTilewidth tiledmap == 32)
$ complain "The map's tile size must be 32 by 32 pixels."
unlessHasProperty "mapCopyright"
$ error "must give the map's copyright via the \"mapCopyright\" property."
-- | Checks a single property of a map.
--
-- Doesn't really do all that much, but could in theory be expanded into a
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment