From 0529ef9ef410a9a9d1313f83a03539970baff35d Mon Sep 17 00:00:00 2001
From: stuebinm
Date: Wed, 29 Dec 2021 13:08:12 +0100
Subject: collides isn't unknown on tiles

---
 lib/Properties.hs | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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
-- 
cgit v1.2.3