From cf9094cf46755e15923e9801ee303a5fe463462e Mon Sep 17 00:00:00 2001 From: Timothy Flynn Date: Tue, 25 May 2021 11:46:16 -0400 Subject: [PATCH] Solitaire: Remove dead call to Game::start_game_over_animation This invocation will exit immediately. There's also no reason to invoke stop_game_over_animation here because that's the first thing that will happen in the call to setup. --- Userland/Games/Solitaire/Game.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/Userland/Games/Solitaire/Game.cpp b/Userland/Games/Solitaire/Game.cpp index 40868ec465..e63750b6c4 100644 --- a/Userland/Games/Solitaire/Game.cpp +++ b/Userland/Games/Solitaire/Game.cpp @@ -321,7 +321,6 @@ void Game::doubleclick_event(GUI::MouseEvent& event) GUI::Frame::doubleclick_event(event); if (m_game_over_animation) { - start_game_over_animation(); setup(mode()); return; }