Make armour slow only on aiming

This commit is contained in:
2021-05-21 14:30:51 +02:00
parent 322894c513
commit 26f0ca4ab5
2 changed files with 7 additions and 5 deletions
+1 -2
View File
@@ -24,8 +24,7 @@ yourControl w (f,g) cr =
, Just . mouseActionsCr (_mouseButtons w) $ wasdWithAiming w speed 0 cr
)
where
speed = 3 * equipFactor
equipFactor = product $ map equipSpeed $ IM.elems $ _crInv $ _creatures w IM.! 0
speed = 3
{- | Turn key presses into creature movement. -}
wasdWithAiming
:: World