From cd20c217c651d4e26c7bdee9926db7eabea88676 Mon Sep 17 00:00:00 2001 From: Laurent Mazet Date: Sat, 2 Aug 2025 22:44:10 +0200 Subject: [PATCH] fix special case factor --- public/trivabble.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/trivabble.js b/public/trivabble.js index fc1a0ab..105f889 100644 --- a/public/trivabble.js +++ b/public/trivabble.js @@ -2043,7 +2043,7 @@ let letterFactor = 1; /* Is a freshly played letter? */ - if (getLetterFromBoard(word.row, word.col) === word.letters[l]) { + if (currentTileOwner[index]) { /* Letter factor */ if (boardCells[index].classList.contains("special-cell-doubleLetter")) { -- 2.30.2