Cleanup item swapping
This commit is contained in:
@@ -233,7 +233,7 @@ changeSwapOther n f i w = fromMaybe w $ do
|
||||
| otherwise = j
|
||||
return $
|
||||
w
|
||||
& swapAnyExtraSelection 3 i k
|
||||
& hud . diSections . ix 3 . ssSet %~ swapInIntSet i k
|
||||
& hud . closeItems %~ swapIndices i k
|
||||
& hud . diSelection . _Just . slInt %~ doswap
|
||||
& worldEventFlags . at InventoryChange ?~ ()
|
||||
|
||||
Reference in New Issue
Block a user