diff options
author | stuebinm | 2021-12-29 03:37:41 +0100 |
---|---|---|
committer | stuebinm | 2021-12-29 03:37:41 +0100 |
commit | 4b2059b5f19214d0afb6eac707e6323b16c0333b (patch) | |
tree | ad1415432385ed97e060ad5118bd0e64251014ca | |
parent | 7675ee189f272fafca637afbe38cf37d00a54433 (diff) |
the lobby lacks reflexivity
-rw-r--r-- | lib/CheckMap.hs | 3 |
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) |