Cleanup LabelDoubleTree -> LDTree
This commit is contained in:
@@ -80,7 +80,7 @@ structureUseAtLoc = \case
|
||||
MapperSF -> True
|
||||
_ -> False
|
||||
|
||||
activateDetonator :: LabelDoubleTree ItemLink CItem -> World -> World
|
||||
activateDetonator :: LDTree ItemLink CItem -> World -> World
|
||||
activateDetonator det = fromMaybe id $ do
|
||||
pjid <- det ^? ldtValue . _1 . itUse . uaParams . apProjectiles . ix 0
|
||||
return $ cWorld . lWorld . projectiles . ix pjid . pjTimer .~ 0
|
||||
|
||||
Reference in New Issue
Block a user