1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 06:37:35 +00:00

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.
This commit is contained in:
Timothy Flynn 2021-05-25 11:46:16 -04:00 committed by Andreas Kling
parent 0b30a0febb
commit cf9094cf46

View file

@ -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;
}