1
Fork 0
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:
Timothy Flynn 2021-05-18 11:15:34 -04:00 committed by Andreas Kling
parent 5a8c220101
commit 7d062d0033
3 changed files with 34 additions and 7 deletions

View file

@ -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());