Cleanup
This commit is contained in:
+1
-1
@@ -90,7 +90,7 @@ tryPlay sd s = do
|
||||
& soundChannel ?~ i
|
||||
& soundStatus . playStatus .~ JustStartedPlaying
|
||||
where
|
||||
timesToPlay | _isLooping (_soundStatus s) = Mix.Forever
|
||||
timesToPlay | _soundIsLooping (_soundStatus s) = Mix.Forever
|
||||
| otherwise = Mix.Once
|
||||
|
||||
tryGetChannel :: Sound -> MaybeT IO Mix.Channel
|
||||
|
||||
Reference in New Issue
Block a user