From: Laurent Mazet Date: Sat, 2 Aug 2025 20:44:10 +0000 (+0200) Subject: fix special case factor X-Git-Url: https://secure.softndesign.org/git/?a=commitdiff_plain;h=cd20c217c651d4e26c7bdee9926db7eabea88676;p=trivabble.git fix special case factor --- 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")) {