aboutsummaryrefslogtreecommitdiff
path: root/frontend/cmd/quit.cpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-11-01 17:32:53 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-11-01 17:32:53 +0100
commitb20f46c15dce8b196dbb8890890978947745e094 (patch)
treed9defa84717ffa843fd11b05d0e856473d6d8d59 /frontend/cmd/quit.cpp
parenta7e84b60366c78b131d43157980fbe4c2df655e6 (diff)
change flow architecture
Diffstat (limited to 'frontend/cmd/quit.cpp')
-rw-r--r--frontend/cmd/quit.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/frontend/cmd/quit.cpp b/frontend/cmd/quit.cpp
index b3a6e80..7bc1b72 100644
--- a/frontend/cmd/quit.cpp
+++ b/frontend/cmd/quit.cpp
@@ -2,7 +2,8 @@
using namespace std;
-FollowupAction GameController::cmd_quit(string &) {
- return FollowupAction::EXIT;
+void GameController::cmd_quit(string &) {
+ this->playing = false;
+ this->quit = true;
}