Use fromDistinctAscList rather than fromAscList

This commit is contained in:
2024-10-08 10:22:14 +01:00
parent 2d536a31c9
commit 30aa3aaaa1
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -146,7 +146,7 @@ setupWorldBounds w =
wallsFromRooms :: [Room] -> IM.IntMap Wall
wallsFromRooms =
-- divideWalls .
IM.fromAscList
IM.fromDistinctAscList
. zipWith f [0 ..]
. removeInverseWalls
. foldl' (flip cutWalls) []