From d00309926b4732b86f31c0ba239c5e932c7d7f3a Mon Sep 17 00:00:00 2001 From: thorium1256 Date: Sun, 22 Jun 2025 17:24:25 +0300 Subject: [PATCH] fixed a bug that would need you to press q a lot when there were a lot of restarts --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 7e34a3f..4b2638a 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -156,7 +156,7 @@ void startGame(Board &board) cursorX = (cursorX < boardSize.x - 1) ? cursorX + 1 : 0; break; case 'q': - return; + exit(0); break; case 'z': if (!somethingHasBeenDone)