1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 14:37:45 +00:00

Solitaire: Start timer when first card is moved

Starts the game timer when the first card is clicked or moved instead of
when a new game is started.

Fixes #7489
This commit is contained in:
Marcus Nilsson 2021-05-27 14:27:20 +02:00 committed by Andreas Kling
parent bacb2dea70
commit f7667901ed
3 changed files with 8 additions and 4 deletions

View file

@ -173,7 +173,7 @@ private:
Animation m_animation;
bool m_game_over_animation { false };
bool m_waiting_for_new_game { true };
bool m_new_game_animation { false };
uint8_t m_new_game_animation_pile { 0 };
uint8_t m_new_game_animation_delay { 0 };