aboutsummaryrefslogtreecommitdiff
path: root/frontend/cmd/quit.cpp
diff options
context:
space:
mode:
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;
}