From 5e48265c16c21f6e218e1f9c4fab277a8705a1c0 Mon Sep 17 00:00:00 2001 From: Peisong Xiao Date: Mon, 15 Jul 2024 15:51:15 -0400 Subject: [PATCH] fixed restarting actually exiting the game --- src/cc3k.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cc3k.cc b/src/cc3k.cc index 10e288f..3cb75e6 100644 --- a/src/cc3k.cc +++ b/src/cc3k.cc @@ -48,6 +48,7 @@ game_status CC3K::run() { out->clear(); curr_menu->print(out); out->render(); + gresult.status = main_menu; return main_menu; } else if (gresult.status == in_game) { out->clear();