diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-01 17:32:53 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-01 17:32:53 +0100 |
commit | b20f46c15dce8b196dbb8890890978947745e094 (patch) | |
tree | d9defa84717ffa843fd11b05d0e856473d6d8d59 /frontend/cmd/restart.cpp | |
parent | a7e84b60366c78b131d43157980fbe4c2df655e6 (diff) |
change flow architecture
Diffstat (limited to 'frontend/cmd/restart.cpp')
-rw-r--r-- | frontend/cmd/restart.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
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; } |