From 821af6a6efbaeb599824580f7a149e0f8cba71eb Mon Sep 17 00:00:00 2001 From: Jamie Mansfield Date: Tue, 27 Jul 2021 12:42:50 +0100 Subject: [PATCH] Spider: Start game if first move is to draw cards This fixes a bug where the game wouldn't consider it had started. --- Userland/Games/Spider/Game.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Userland/Games/Spider/Game.cpp b/Userland/Games/Spider/Game.cpp index a19888ade5..4a0a3997ae 100644 --- a/Userland/Games/Spider/Game.cpp +++ b/Userland/Games/Spider/Game.cpp @@ -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();