Skip to content
Snippets Groups Projects
Commit c976492c authored by tabascoeye's avatar tabascoeye
Browse files

Update CheckMap.hs to make missing back link to lobby an ERROR

parent a129ad47
No related branches found
No related tags found
1 merge request!7Update CheckMap.hs to make missing back link to lobby an ERROR
...@@ -93,7 +93,7 @@ runLinter isMain config tiledmap depth = MapResult ...@@ -93,7 +93,7 @@ runLinter isMain config tiledmap depth = MapResult
{ mapresultLayer = invertThing layer { mapresultLayer = invertThing layer
, mapresultTileset = invertThing tileset , mapresultTileset = invertThing tileset
, mapresultGeneral = , mapresultGeneral =
([Hint Warning "main.json should link back to the lobby" | isMain && not (any linksLobby layerDeps)]) ([Hint Error "main.json should link back to the lobby" | isMain && not (any linksLobby layerDeps)])
<> lintsToHints (resultToLints generalResult) <> lintsToHints (resultToLints generalResult)
, mapresultDepends = resultToDeps generalResult , mapresultDepends = resultToDeps generalResult
<> layerDeps <> layerDeps
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment