Allow for custom reloading sounds
This commit is contained in:
@@ -316,6 +316,7 @@ changeAugInvSel :: Int -> World -> World
|
||||
changeAugInvSel i w
|
||||
| n == 0 = w
|
||||
| otherwise = w & creatures . ix (_yourID w) . crInvSel . iselPos %~ (`mod` n) . subtract i
|
||||
& creatures . ix (_yourID w) . crInvSel . iselAction .~ NoInvSelAction
|
||||
where
|
||||
n = length (yourInv w) + length (_closeObjects w)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user