Add toggle for visual sounds

This commit is contained in:
2021-09-22 11:37:07 +01:00
parent a4fbe6126c
commit fa7d8e1b50
7 changed files with 14 additions and 34 deletions
+4
View File
@@ -53,6 +53,10 @@ gameplayMenuOptions =
ScancodeR
(Just . (config . rotate_to_wall %~ not))
(\w -> "ROTATE TO WALL:" ++ show (_rotate_to_wall $ _config w))
, Toggle
ScancodeS
(Just . (config . show_sound %~ not))
(\w -> "SHOW VISUAL SOUNDS:" ++ show (_show_sound $ _config w))
]
soundMenu :: ScreenLayer