Continue reload refactor
This commit is contained in:
@@ -17,7 +17,7 @@ getHeldItemLoc cr w = case maybeitid of
|
||||
_ -> (w, itid)
|
||||
where
|
||||
cid = _crID cr
|
||||
j = _crInvSel cr
|
||||
j = crSel cr
|
||||
newitid = IM.newKey $ _itemPositions w
|
||||
maybeitid = cr ^? crInv . ix j . itID . _Just
|
||||
itid = fromMaybe newitid maybeitid
|
||||
|
||||
Reference in New Issue
Block a user