mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:27:43 +00:00
Solitaire: Persist game mode to config file
This commit is contained in:
parent
5a8c220101
commit
7d062d0033
3 changed files with 34 additions and 7 deletions
|
@ -196,6 +196,9 @@ void Game::mousedown_event(GUI::MouseEvent& event)
|
|||
case Mode::ThreeCardDraw:
|
||||
cards_to_draw = 3;
|
||||
break;
|
||||
default:
|
||||
VERIFY_NOT_REACHED();
|
||||
break;
|
||||
}
|
||||
|
||||
update(stock.bounding_box());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue