diff options
Diffstat (limited to 'Userland/Games/Solitaire')
-rw-r--r-- | Userland/Games/Solitaire/Game.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Userland/Games/Solitaire/Game.cpp b/Userland/Games/Solitaire/Game.cpp index 45e23c0642..809bfa70bc 100644 --- a/Userland/Games/Solitaire/Game.cpp +++ b/Userland/Games/Solitaire/Game.cpp @@ -78,6 +78,10 @@ void Game::start_game_over_animation() if (m_game_over_animation) return; + m_last_move = {}; + if (on_undo_availability_change) + on_undo_availability_change(false); + create_new_animation_card(); // We wait one frame, to make sure that the foundation stacks are repainted before we start. |