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 f7d2f138ea
commit 08f6ee7161

View File

@ -156,7 +156,7 @@ void startGame(Board &board)
cursorX = (cursorX < boardSize.x - 1) ? cursorX + 1 : 0; cursorX = (cursorX < boardSize.x - 1) ? cursorX + 1 : 0;
break; break;
case 'q': case 'q':
return; exit(0);
break; break;
case 'z': case 'z':
if (!somethingHasBeenDone) if (!somethingHasBeenDone)