Continue inventory work
This commit is contained in:
@@ -157,7 +157,7 @@ selSecSelPos i j sss = do
|
||||
. fmap (length . _siPictures)
|
||||
. fst $ IM.split j (ss ^. ssItems)
|
||||
where
|
||||
secpos = sum . fmap (length . _ssItems) . fst $ IM.split i $ sss ^. sssSections
|
||||
secpos = sum . fmap (length . _ssShownItems) . fst $ IM.split i $ sss ^. sssSections
|
||||
|
||||
selNumPos :: ManipulatedObject -> World -> Maybe Int
|
||||
selNumPos mo w = w ^? hud . hudElement . diSections >>=
|
||||
|
||||
Reference in New Issue
Block a user