Repository navigation
Commit 32d8250
authored
Fixed Bug: Next Tetrimino randomizes on pause
Fixed a bug where the Next Tetrimino randomizes every time the player pauses and unpauses the same game
-added boolean variable "isFirstGame"
-start/pause button click listener checks for "isFirstGame" before randomizing the Next Tetrimino, preventing it from being randomized more than once per game1 parent 3586878 commit 32d8250
0 file changed
0 commit comments