summaryrefslogtreecommitdiff
path: root/Userland/Games/Solitaire/Game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Games/Solitaire/Game.cpp')
-rw-r--r--Userland/Games/Solitaire/Game.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Games/Solitaire/Game.cpp b/Userland/Games/Solitaire/Game.cpp
index 81091f242e..0b7a4c86e5 100644
--- a/Userland/Games/Solitaire/Game.cpp
+++ b/Userland/Games/Solitaire/Game.cpp
@@ -326,8 +326,6 @@ void Game::doubleclick_event(GUI::MouseEvent& event)
to_check.push(move(card));
}
}
-
- update_score(10);
}
break;
}
@@ -360,6 +358,8 @@ void Game::move_card(CardStack& from, CardStack& to)
remember_move_for_undo(from, to, m_focused_cards);
+ score_move(from, to);
+
update(to.bounding_box());
}