Update stack lts
This commit is contained in:
@@ -84,7 +84,7 @@ placeSpotRoomRand ::
|
||||
GenWorld ->
|
||||
((GenWorld, Room), [Placement])
|
||||
placeSpotRoomRand rm i f plmnt w =
|
||||
let (ps, g) = runState (_rmRandPSs rm !! i) $_randGen (_gwWorld w)
|
||||
let (ps, g) = runState (_rmRandPSs rm !! i) $ w ^. gwWorld . randGen
|
||||
in placeSpot (w & gwWorld . randGen .~ g, rm) (plmnt & plSpot .~ f ps)
|
||||
|
||||
placeSpotID :: PlacementSpot -> PSType -> GenWorld -> (Int, GenWorld)
|
||||
|
||||
Reference in New Issue
Block a user