fixed a bug that would need you to press q a lot when there were a lot of restarts

This commit is contained in:
thorium1256 2025-06-22 17:24:25 +03:00
parent 5689e8c9bc
commit 02156d4a66

View File

@ -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)