Pause and resume sounds when pausing game

This commit is contained in:
2025-06-02 12:43:37 +01:00
parent 6706ac494a
commit 1851dcc5d6
8 changed files with 74 additions and 63 deletions
+1 -1
View File
@@ -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