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

hint if people set collides on tilesets

parent 4950d284
Branches
Tags
No related merge requests found
Pipeline #11641 failed
......@@ -197,6 +197,7 @@ checkTileset = do
checkTilesetProperty :: Property -> LintWriter Tileset
checkTilesetProperty p@(Property name _value) = case name of
"tilesetCopyright" -> naiveEscapeProperty p
"collides" -> warn "property \"collides\" should be set on individual tiles, not the tileset"
_ -> warn $ "unknown tileset property " <> prettyprint name
checkTile :: Tile -> LintWriter Tileset
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment