diff options
Diffstat (limited to 'Userland/Games/Snake/main.cpp')
-rw-r--r-- | Userland/Games/Snake/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Games/Snake/main.cpp b/Userland/Games/Snake/main.cpp index 72654e50a2..fdd30078ab 100644 --- a/Userland/Games/Snake/main.cpp +++ b/Userland/Games/Snake/main.cpp @@ -49,7 +49,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments) auto game_menu = TRY(window->try_add_menu("&Game")); - TRY(game_menu->try_add_action(GUI::Action::create("&New Game", { Mod_None, Key_F2 }, [&](auto&) { + TRY(game_menu->try_add_action(GUI::Action::create("&New Game", { Mod_None, Key_F2 }, TRY(Gfx::Bitmap::try_load_from_file("/res/icons/16x16/reload.png")), [&](auto&) { game->reset(); }))); TRY(game_menu->try_add_separator()); |