From 315e75f125601b67b2fa137a6b141d2655f218b4 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Mon, 21 Mar 2022 15:55:16 -0400 Subject: enter works on menu --- src/menu.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) { game.muxer.playSound("closemenu"); break; } - case SDLK_SPACE: { + case SDLK_SPACE: + case SDLK_RETURN: { items[cursor].activationFunction(game); game.muxer.playSound("menuselect"); break; -- cgit 1.4.1