Delete redundant weapon chain effect code

This commit is contained in:
2024-09-24 18:25:24 +01:00
parent 34c244a332
commit fbb60bf358
5 changed files with 6 additions and 310 deletions
+2
View File
@@ -38,6 +38,8 @@ tryPutItemInInv cid flit w = case maybeInvSlot of
& updateItLocation i
-- I forget whether using "at" rather than "IM.insert" here caused problems
-- & cWorld . lWorld . creatures . ix cid . crInv . at i ?~ it
-- note item locations are updated twice: first for the ilInvID,
-- second for the root/selected item bools
& cWorld . lWorld %~ crUpdateItemLocations cid
& setInvPosFromSS
& cWorld . lWorld %~ crUpdateItemLocations cid