mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 18:02:05 -05:00
Solitaire: Correctly score automatic moves using <tab>
This commit is contained in:
parent
862ba64037
commit
8d8b1d9531
1 changed files with 2 additions and 2 deletions
|
@ -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());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue