Move equipType out of record
This commit is contained in:
@@ -4,6 +4,7 @@ module Dodge.Render.HUD (
|
||||
drawHUD,
|
||||
) where
|
||||
|
||||
import Dodge.Data.EquipType
|
||||
import Dodge.Item.Location
|
||||
import Control.Applicative
|
||||
import Control.Lens
|
||||
@@ -252,7 +253,7 @@ drawRBOptions cfig w = fold $ do
|
||||
invid <- you w ^? crManipulation . manObject . imSelectedItem
|
||||
eslist <-
|
||||
fmap eqSiteToPositions $
|
||||
you w ^? crInv . ix invid . itUse . uequipEffect . eeType
|
||||
you w ^? crInv . ix invid >>= equipType-- . itUse . uequipEffect . eeType
|
||||
i <- w ^? rbOptions . opSel
|
||||
let ae = getEquipmentAllocation invid w
|
||||
sss <- w ^? hud . hudElement . diSections
|
||||
|
||||
Reference in New Issue
Block a user