Flatten HUDElement
This commit is contained in:
@@ -43,7 +43,7 @@ tryPutItemInInv cid itid w = do
|
||||
& updateselectionextra invid
|
||||
where
|
||||
updateselectionextra i
|
||||
| cid == 0 = hud . hudElement . diSelection . _Just . _3 %~ IS.map (f i)
|
||||
| cid == 0 = hud . diSelection . _Just . _3 %~ IS.map (f i)
|
||||
| otherwise = id
|
||||
f j i | i >= _unNInt j = i + 1
|
||||
| otherwise = i
|
||||
|
||||
Reference in New Issue
Block a user