Spider: Start game if first move is to draw cards

This fixes a bug where the game wouldn't consider it had started.
This commit is contained in:
Jamie Mansfield 2021-07-27 12:42:50 +01:00 committed by Andreas Kling
parent 26cb559d37
commit 821af6a6ef
Notes: sideshowbarker 2024-07-18 08:02:48 +09:00

View file

@ -255,6 +255,7 @@ void Game::mousedown_event(GUI::MouseEvent& event)
if (to_check.bounding_box().contains(click_location)) {
if (to_check.type() == CardStack::Type::Stock) {
start_timer_if_necessary();
draw_cards();
} else if (!to_check.is_empty()) {
auto& top_card = to_check.peek();