Add remote detonator, stop remote screen attaching to nonlauncher ammo

This commit is contained in:
2024-12-25 21:52:09 +00:00
parent c788af47bd
commit ae557f3fd4
11 changed files with 180 additions and 164 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ useSelectedItem crid w = (worldEventFlags . at InventoryChange ?~ ()) . fromMayb
useLocation :: LocationLDT ItemLink ComposedItem -> UseFocus
useLocation loc
| isJust $ loc ^? locLDT . ldtValue . _1 . itUse . uequipEffect = UseFromLocation
| isJust $ loc ^? locLDT . ldtValue . _1 . itUse . uaParams . apLinkedProjectile
| isJust $ loc ^? locLDT . ldtValue . _1 . itUse . uaParams . apLinkedProjectile . _Just
= UseFromLocation
| otherwise = UseFromRoot