Stop new old sounds from playing during rewinding
This commit is contained in:
@@ -65,13 +65,13 @@ room2 :: RandomGen g => Int -> State g (SubCompTree Room)
|
||||
room2 = lasCenSensEdge
|
||||
|
||||
startRoom :: RandomGen g => Int -> State g (SubCompTree Room)
|
||||
startRoom i = join $ takeOne
|
||||
[ chainUses <$> sequence [minigunFakeout,weaponRoom]
|
||||
, rezBoxesWp
|
||||
, rezBoxesThenWeaponRoom
|
||||
, rezBoxThenWeaponRoom
|
||||
, rezBoxesWpCrit
|
||||
, runPastStart i
|
||||
startRoom i = join $ uncurry takeOneWeighted $ unzip
|
||||
[ (,) (0.5::Float) $ chainUses <$> sequence [minigunFakeout,weaponRoom]
|
||||
, (,) 1 $ rezBoxesWp
|
||||
, (,) 1 $ rezBoxesThenWeaponRoom
|
||||
, (,) 1 $ rezBoxThenWeaponRoom
|
||||
, (,) 1 $ rezBoxesWpCrit
|
||||
, (,) 1 $ runPastStart i
|
||||
]
|
||||
|
||||
runPastStart :: RandomGen g => Int -> State g (SubCompTree Room)
|
||||
|
||||
Reference in New Issue
Block a user