fixed a bug that would need you to press q a lot when there were a lot of restarts
This commit is contained in:
parent
f7d2f138ea
commit
08f6ee7161
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user