summaryrefslogtreecommitdiff
path: root/lib/CheckMap.hs
diff options
context:
space:
mode:
Diffstat (limited to 'lib/CheckMap.hs')
-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)