summary refs log tree commit diff stats
path: root/src/menu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/menu.cpp')
-rw-r--r--src/menu.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/menu.cpp b/src/menu.cpp index da88a90..7e58de0 100644 --- a/src/menu.cpp +++ b/src/menu.cpp
@@ -79,7 +79,8 @@ void Menu::update(size_t dt, Game& game) {
79 game.muxer.playSound("closemenu"); 79 game.muxer.playSound("closemenu");
80 break; 80 break;
81 } 81 }
82 case SDLK_SPACE: { 82 case SDLK_SPACE:
83 case SDLK_RETURN: {
83 items[cursor].activationFunction(game); 84 items[cursor].activationFunction(game);
84 game.muxer.playSound("menuselect"); 85 game.muxer.playSound("menuselect");
85 break; 86 break;