Remove fusePairs, replaces with snapToGrid
This commit is contained in:
+1
-1
@@ -50,7 +50,7 @@ generateLevelFromRoomList gr' w =
|
||||
where
|
||||
(_, path) = pairsToGraph pairPath'
|
||||
pairPath = foldMap _rmPath rs
|
||||
pairPath' = fusePairs pairPath
|
||||
pairPath' = snapToGrid pairPath
|
||||
rs = map doRoomShift $ IM.elems rs'
|
||||
rs' = mapM shuffleRoomPos gr' & evalState $ _randGen w
|
||||
|
||||
|
||||
Reference in New Issue
Block a user