Cleanup
This commit is contained in:
@@ -189,7 +189,7 @@ invItemLocUpdate loc w = case itm ^. itType of
|
||||
tryUseParent :: LocationLDT ItemLink ComposedItem -> World -> World
|
||||
tryUseParent loc w = fromMaybe w $ do
|
||||
t <- locUp loc
|
||||
let t' = bimap (_iatType) (^. _1) $ t ^. locLDT
|
||||
let t' = bimap (^. iatType) (^. _1) $ t ^. locLDT
|
||||
cr <- w ^? cWorld . lWorld . creatures . ix 0
|
||||
return $ heldEffectNoHammerCheck t' cr w
|
||||
|
||||
|
||||
Reference in New Issue
Block a user