diff --git a/game.js b/game.js index a244cbb..6d7b408 100644 --- a/game.js +++ b/game.js @@ -68,7 +68,10 @@ function checkGridRow() { console.log(gridItem.letter) console.log(dedupword) - if (correct_letters == gridWidth) endGame(true) + if (correct_letters == gridWidth) { + endGame(true) + return + } } getGridRow(row).complete = true