mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-18 07:22:22 +00:00
parent
64ca51265d
commit
22aeec1218
Notes:
sideshowbarker
2024-07-18 07:28:43 +09:00
Author: https://github.com/jamierocks
Commit: 22aeec1218
Pull-request: https://github.com/SerenityOS/serenity/pull/9220
Issue: https://github.com/SerenityOS/serenity/issues/9217
Reviewed-by: https://github.com/gunnarbeutner
1 changed files with 3 additions and 0 deletions
|
@ -75,6 +75,9 @@ void Game::setup(Mode mode)
|
||||||
while (!deck.is_empty())
|
while (!deck.is_empty())
|
||||||
m_new_deck.append(deck.take(get_random_uniform(deck.size())));
|
m_new_deck.append(deck.take(get_random_uniform(deck.size())));
|
||||||
|
|
||||||
|
m_focused_stack = nullptr;
|
||||||
|
m_focused_cards.clear();
|
||||||
|
|
||||||
m_new_game_animation = true;
|
m_new_game_animation = true;
|
||||||
start_timer(s_timer_interval_ms);
|
start_timer(s_timer_interval_ms);
|
||||||
update();
|
update();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue