Fix drag pickup bug
This commit is contained in:
@@ -138,7 +138,7 @@ tryPickupSelected k mpos w = do
|
|||||||
guard $ nfreeslots >= slotsneeded
|
guard $ nfreeslots >= slotsneeded
|
||||||
return $ case mpos of
|
return $ case mpos of
|
||||||
Just (0, j) ->
|
Just (0, j) ->
|
||||||
foldr (pickUpItemAt j 0) w (IS.toList xs)
|
foldr (pickUpItemAt j 0) w (map (_unNInt . _itID) itmstopickup)
|
||||||
& hud . hudElement . diSelection
|
& hud . hudElement . diSelection
|
||||||
?~ ( 0
|
?~ ( 0
|
||||||
, j
|
, j
|
||||||
|
|||||||
Reference in New Issue
Block a user