Add (persistent) volume control
This commit is contained in:
+1
-2
@@ -28,8 +28,7 @@ In such menus, the only way to change the world is using event handling.
|
||||
-}
|
||||
update :: World -> World
|
||||
update w = case _menuLayers w of
|
||||
(ConfigSaveScreen x: ls) -> w & menuLayers .~ (ConfigSaveScreen (x-1) : ls)
|
||||
(ConfigSaveScreen 0: ls) -> w & menuLayers .~ ls
|
||||
(ConfigSaveScreen : ls) -> w & menuLayers .~ ls
|
||||
(_ : _) -> w
|
||||
[] -> let w1 = updateParticles' . updateProjectiles
|
||||
. updateLightSources
|
||||
|
||||
Reference in New Issue
Block a user