Allow for custom reloading sounds
This commit is contained in:
@@ -197,4 +197,5 @@ soundMultiFrom (so:sos) pos sType mtime w
|
||||
a = soundAngle pos w
|
||||
{- | Sets '_soundTime' to 0. -}
|
||||
stopSoundFrom :: SoundOrigin -> World -> World
|
||||
stopSoundFrom so = over (playingSounds . ix so . soundTime) (fmap $ min 0)
|
||||
stopSoundFrom so = playingSounds . ix so . soundTime ?~ 0
|
||||
--stopSoundFrom so = over (playingSounds . ix so . soundTime) (fmap $ min 0)
|
||||
|
||||
Reference in New Issue
Block a user