Cleanup, fix broken records in LeftUse
This commit is contained in:
@@ -48,7 +48,7 @@ updateWheelEvent yi w = case w ^. hud . hudElement of
|
||||
where
|
||||
rbscrollmax = fromMaybe 1 $ do
|
||||
invid <- you w ^? crManipulation . manObject . imSelectedItem
|
||||
esite <- you w ^? crInv . ix invid . itUse . equipEffect . eeSite
|
||||
esite <- you w ^? crInv . ix invid . itUse . uequipEffect . eeSite
|
||||
return $ length $ equipSiteToPositions esite
|
||||
y = fromIntegral yi
|
||||
numLocs = (fst . IM.findMax $ (w ^. cWorld . lWorld . seenLocations)) + 1
|
||||
|
||||
Reference in New Issue
Block a user