summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorstuebinm2021-12-29 13:08:12 +0100
committerstuebinm2021-12-29 13:08:12 +0100
commit0529ef9ef410a9a9d1313f83a03539970baff35d (patch)
treea38bbc481cf81bd229cafbe707c83c990f27edd2 /lib
parent0419aa9918723c8b74252bf6ff1a2162c2f3a89a (diff)
collides isn't unknown on tiles
Diffstat (limited to 'lib')
-rw-r--r--lib/Properties.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Properties.hs b/lib/Properties.hs
index e594751..b586c7e 100644
--- a/lib/Properties.hs
+++ b/lib/Properties.hs
@@ -492,7 +492,8 @@ checkTileThing removeExits p@(Property name _value) = case name of
(dependsOn . Link)
(const $ forbid "accessing local html files is disallowed.")
| otherwise ->
- warnUnknown p knownTileLayerProperites
+ when (not removeExits || name `notElem` [ "collides", "name", "tilesetCopyright" ]) $ do
+ warnUnknown p knownTileLayerProperites
where
requireProperty req = propertyRequiredBy req name
requireOneOf names = do