mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-13 13:02:28 +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:
parent
0b30a0febb
commit
cf9094cf46
Notes:
sideshowbarker
2024-07-18 17:24:03 +09:00
Author: https://github.com/trflynn89
Commit: cf9094cf46
Pull-request: https://github.com/SerenityOS/serenity/pull/7464
1 changed files with 0 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue