Allow rewinding after combining items
This commit is contained in:
@@ -19,7 +19,9 @@ updateUsingInput w = if _carteDisplay w
|
||||
updatePressedButtons :: S.Set MouseButton -> World -> World
|
||||
updatePressedButtons pkeys w
|
||||
| lbPressed && rbPressed = tryUseItem (you w) w
|
||||
| lbPressed = useLeftItem (_yourID w) w
|
||||
| lbPressed &&
|
||||
(_inventoryMode w == TopInventory || _rewinding w == RewindingLastFrame)
|
||||
= useLeftItem (_yourID w) w
|
||||
-- | lbPressed = w
|
||||
| mbPressed = w & clickMousePos .~ _mousePos w
|
||||
& cameraRot -~ rotation
|
||||
|
||||
Reference in New Issue
Block a user