more fix
This commit is contained in:
parent
93c2322834
commit
43e2d364d0
@ -90,7 +90,7 @@ function completeRow() {
|
|||||||
})
|
})
|
||||||
// second pass: mark the present
|
// second pass: mark the present
|
||||||
currentRow.forEach((tile) => {
|
currentRow.forEach((tile) => {
|
||||||
if (answerLetters.includes(tile.letter)) {
|
if (!tile.state && answerLetters.includes(tile.letter)) {
|
||||||
tile.state = LetterState.PRESENT
|
tile.state = LetterState.PRESENT
|
||||||
answerLetters[answerLetters.indexOf(tile.letter)] = null
|
answerLetters[answerLetters.indexOf(tile.letter)] = null
|
||||||
if (!letterStates[tile.letter]) {
|
if (!letterStates[tile.letter]) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user