summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstuebinm2021-12-29 03:37:41 +0100
committerstuebinm2021-12-29 03:37:41 +0100
commit4b2059b5f19214d0afb6eac707e6323b16c0333b (patch)
treead1415432385ed97e060ad5118bd0e64251014ca
parent7675ee189f272fafca637afbe38cf37d00a54433 (diff)
the lobby lacks reflexivity
-rw-r--r--lib/CheckMap.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/CheckMap.hs b/lib/CheckMap.hs
index 04f3f75..fead0b9 100644
--- a/lib/CheckMap.hs
+++ b/lib/CheckMap.hs
@@ -21,7 +21,7 @@ import GHC.Generics (Generic)
import Badges (Badge)
-import LintConfig (LintConfig')
+import LintConfig (LintConfig', LintConfig (configAssemblyTag))
import LintWriter (LintResult, invertLintResult,
resultToAdjusted, resultToBadges,
resultToDeps, resultToLints, resultToOffers,
@@ -106,6 +106,7 @@ runLinter isMain config tiledmap depth = MapResult
where
linksLobby = \case
MapLink link -> "/@/rc3_21/lobby" `T.isPrefixOf` link
+ || configAssemblyTag config == "lobby"
_ -> False
layerDeps = concatMap resultToDeps layer
layer = checkLayerRec config depth (V.toList $ tiledmapLayers tiledmap)