diff --git a/lib/Properties.hs b/lib/Properties.hs index a9bf11363a40f2f34b6a2c64bae21a29ae08f42b..1d8731170ab4189922099320217f4534d3f13b99 100644 --- a/lib/Properties.hs +++ b/lib/Properties.hs @@ -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