From b20f46c15dce8b196dbb8890890978947745e094 Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Fri, 1 Nov 2024 17:32:53 +0100 Subject: change flow architecture --- frontend/cmd/restart.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'frontend/cmd/restart.cpp') diff --git a/frontend/cmd/restart.cpp b/frontend/cmd/restart.cpp index 0ecb747..ed8d019 100644 --- a/frontend/cmd/restart.cpp +++ b/frontend/cmd/restart.cpp @@ -2,7 +2,8 @@ using namespace std; -FollowupAction GameController::cmd_restart(string &) { - return FollowupAction::RESTART; +void GameController::cmd_restart(string &) { + this->playing = false; + this->quit = false; } -- cgit v1.2.3