summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
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