fix bug where guessing correct on guess 6/6 says you failed
This commit is contained in:
parent
69edfb7f95
commit
46b06d44d9
5
game.js
5
game.js
@ -68,7 +68,10 @@ function checkGridRow() {
|
|||||||
console.log(gridItem.letter)
|
console.log(gridItem.letter)
|
||||||
console.log(dedupword)
|
console.log(dedupword)
|
||||||
|
|
||||||
if (correct_letters == gridWidth) endGame(true)
|
if (correct_letters == gridWidth) {
|
||||||
|
endGame(true)
|
||||||
|
return
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
getGridRow(row).complete = true
|
getGridRow(row).complete = true
|
||||||
|
Loading…
Reference in New Issue
Block a user