Tweak rewind gun
This commit is contained in:
@@ -42,7 +42,7 @@ chargeIfInInventory itm cr w =
|
||||
|
||||
chargeIfEquipped :: Item -> Creature -> World -> World
|
||||
chargeIfEquipped itm cr w
|
||||
| Just invid == _crLeftInvSel cr =
|
||||
| Just invid == cr ^. crLeftInvSel . lisMPos =
|
||||
w & ptrWpCharge %~ (min maxcharge . (+ 1))
|
||||
| otherwise =
|
||||
w & ptrWpCharge .~ 0
|
||||
|
||||
Reference in New Issue
Block a user