Fix bug where new sounds didn't overplay old sounds
This commit is contained in:
@@ -159,7 +159,9 @@ isFrictionless cr = case cr ^? crStance . carriage of
|
||||
_ -> False
|
||||
|
||||
stepItemUseCooldown :: Creature -> Creature
|
||||
stepItemUseCooldown cr = over (crInv . ix iSel . itUseTime) decreaseToZero cr
|
||||
stepItemUseCooldown cr = cr & crInv . ix iSel %~
|
||||
(itUseTime %~ decreaseToZero) . (wpCurWarmUp %~ decreaseToZero)
|
||||
--( over (crInv . ix iSel . itUseTime) decreaseToZero cr
|
||||
where
|
||||
iSel = _crInvSel cr
|
||||
|
||||
|
||||
Reference in New Issue
Block a user