missing letter state

This commit is contained in:
Evan You 2022-01-23 22:57:47 +08:00
parent af8342fabe
commit f28c5585f2

View File

@ -95,7 +95,7 @@ function completeRow() {
// 3rd pass: mark absent
currentRow.forEach((tile) => {
if (!tile.state) {
tile.state = LetterState.ABSENT
tile.state = letterStates[tile.letter] = LetterState.ABSENT
}
})