mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 13:27:35 +00:00
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:
parent
26cb559d37
commit
821af6a6ef
1 changed files with 1 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue