diff options
author | stuebinm | 2021-12-18 14:57:58 +0100 |
---|---|---|
committer | stuebinm | 2021-12-18 14:57:58 +0100 |
commit | 766f883e88afbe476eac0433fc8c731756f64039 (patch) | |
tree | 241fd34d889157cc1898abff839d1716282259c3 | |
parent | f62af2a10460bc2092bcd1c32aea893f93a0569b (diff) |
remove mapImage property
-rw-r--r-- | lib/Properties.hs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/Properties.hs b/lib/Properties.hs index beca7e8..0593658 100644 --- a/lib/Properties.hs +++ b/lib/Properties.hs @@ -85,7 +85,7 @@ checkMap = do $ \cols -> warn $ "collisions between entry and / or exit layers: " <> prettyprint cols let missingMetaInfo = - ["mapName","mapDescription","mapLink","mapImage"] + ["mapName","mapDescription","mapLink"] \\ fmap getName (getProperties tiledmap) unless (null missingMetaInfo) @@ -108,7 +108,6 @@ checkMapProperty p@(Property name _) = case name of "mapDescription" -> naiveEscapeProperty p "mapCopyright" -> naiveEscapeProperty p "mapLink" -> pure () - "mapImage" -> pure () -- usually the linter will complain if names aren't in their -- "canonical" form, but allowing that here so that multiple -- scripts can be used by one map @@ -270,7 +269,7 @@ checkTileLayerProperty p@(Property name _value) = case name of "jitsiTrigger" -> do isString p unlessHasProperty "jitsiTriggerMessage" - $ suggest "set \"jitsiTriggerMessage\" to a custom message to overwrite\ + $ suggest "set \"jitsiTriggerMessage\" to a custom message to overwrite \ \the default \"press SPACE to enter in jitsi meet room\"." requireProperty "jitsiRoom" "jitsiTriggerMessage" -> do |