Refactoring and linting
This commit is contained in:
@@ -178,7 +178,7 @@ isFrictionless cr = case cr ^? crState . stance . carriage of
|
||||
_ -> False
|
||||
|
||||
updateReloadCounter :: Creature -> Creature
|
||||
updateReloadCounter cr = over (crInv . ix iSel . wpFireState) decreaseToZero
|
||||
updateReloadCounter cr = over (crInv . ix iSel . itUseTime) decreaseToZero
|
||||
. over (crInv . ix iSel . wpReloadState) decreaseToZero
|
||||
$ cr
|
||||
where iSel = _crInvSel cr
|
||||
|
||||
Reference in New Issue
Block a user