diff options
Diffstat (limited to 'src/menu.cpp')
-rw-r--r-- | src/menu.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/menu.cpp b/src/menu.cpp index b9a3ace..da88a90 100644 --- a/src/menu.cpp +++ b/src/menu.cpp | |||
@@ -11,6 +11,9 @@ Menu::Menu() { | |||
11 | items.push_back({.text = "Toggle Fullscreen", .activationFunction = [] (Game& game) { | 11 | items.push_back({.text = "Toggle Fullscreen", .activationFunction = [] (Game& game) { |
12 | game.renderer.toggleFullscreen(); | 12 | game.renderer.toggleFullscreen(); |
13 | }}); | 13 | }}); |
14 | items.push_back({.text = "Toggle Music", .activationFunction = [] (Game& game) { | ||
15 | game.muxer.toggleMute(); | ||
16 | }}); | ||
14 | items.push_back({.text = "Quit", .activationFunction = [this] (Game& game) { | 17 | items.push_back({.text = "Quit", .activationFunction = [this] (Game& game) { |
15 | close(); | 18 | close(); |
16 | game.losing = LoseState::PoppingLamps; | 19 | game.losing = LoseState::PoppingLamps; |