Change selection set to work for multiple sections
This commit is contained in:
@@ -95,7 +95,8 @@ setInvPosFromSS w = w
|
||||
& cWorld . lWorld . creatures . ix 0 . crManipulation . manObject .~ thesel
|
||||
where
|
||||
thesel = fromMaybe SelNothing $ do
|
||||
Sel i j _ <- w ^? hud . diSelection . _Just
|
||||
--Sel i j _ <- w ^? hud . diSelection . _Just
|
||||
Sel i j <- w ^? hud . diSelection . _Just
|
||||
case i of
|
||||
(-1) -> Just SortInventory
|
||||
0 -> do
|
||||
|
||||
Reference in New Issue
Block a user