Pause and resume sounds when pausing game
This commit is contained in:
+1
-1
@@ -190,7 +190,7 @@ gameOverMenu u =
|
||||
--charToScode = Scancode . fromIntegral . (\x -> x - 61) . fromEnum
|
||||
|
||||
unpause :: Universe -> Universe
|
||||
unpause = over uvWorld resumeSound . set uvScreenLayers []
|
||||
unpause = resumeSound . set uvScreenLayers []
|
||||
|
||||
-- note that this won't update after it is first loaded
|
||||
displayConfig :: Universe -> ScreenLayer
|
||||
|
||||
Reference in New Issue
Block a user