Fix incorrect creation of unused links pos
This commit is contained in:
@@ -20,6 +20,8 @@ branchRectWith t = do
|
||||
x <- state $ randomR (100,200)
|
||||
y <- state $ randomR (100,200)
|
||||
b <- t
|
||||
root <- randomiseOutLinks $ roomRectAutoLinks x y
|
||||
return $ Node (PassDown root) [Node (UseAll door) [], changeToPassDown <$>
|
||||
treeFromTrunk [PassDown door] b]
|
||||
root <- shuffleLinks $ roomRectAutoLinks x y
|
||||
return $ Node (PassDown root)
|
||||
[ Node (UseAll door) []
|
||||
, changeToPassDown <$> treeFromTrunk [PassDown door] b
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user