From 7675ee189f272fafca637afbe38cf37d00a54433 Mon Sep 17 00:00:00 2001
From: stuebinm <stuebinm@disroot.org>
Date: Wed, 29 Dec 2021 02:44:36 +0100
Subject: [PATCH] why aren't boolean values typechecked???

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

diff --git a/lib/Properties.hs b/lib/Properties.hs
index a2a84d6..605f970 100644
--- a/lib/Properties.hs
+++ b/lib/Properties.hs
@@ -423,7 +423,7 @@ checkTileThing removeExits p@(Property name _value) = case name of
       requireProperty "openWebsiteTrigger"
     "url" -> complain "the property \"url\" defining embedded iframes must be \
                       \set on an object in an objectgroup layer."
-    "exitUrl" -> if removeExits
+    "exitUrl" -> if not removeExits
       then do
         forbidEmptyLayer
         unwrapURI (Proxy @"map") p
-- 
GitLab