diff options
author | Timothy Flynn <trflynn89@pm.me> | 2021-05-25 11:46:16 -0400 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-05-25 21:20:50 +0200 |
commit | cf9094cf46755e15923e9801ee303a5fe463462e (patch) | |
tree | d466ff9ce09d193f90d192891df204e5e9a56ba9 /Userland/Games/Solitaire/Game.cpp | |
parent | 0b30a0febbbab0c29fd609b340927faa522b144d (diff) | |
download | serenity-cf9094cf46755e15923e9801ee303a5fe463462e.zip |
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.
Diffstat (limited to 'Userland/Games/Solitaire/Game.cpp')
-rw-r--r-- | Userland/Games/Solitaire/Game.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
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; } |