Soft'N'Design Software
/
projects
/
trivabble.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92292b4
)
fix special case factor
author
Laurent Mazet
<mazet@softndesign.org>
Sat, 2 Aug 2025 20:44:10 +0000
(22:44 +0200)
committer
Laurent Mazet
<mazet@softndesign.org>
Sat, 2 Aug 2025 20:44:10 +0000
(22:44 +0200)
public/trivabble.js
patch
|
blob
|
blame
|
history
diff --git
a/public/trivabble.js
b/public/trivabble.js
index fc1a0ab8647921bf0fbbcbc0045ad2b6f6ad6714..105f88936451c94f6ce6981fa59b36adab8b0619 100644
(file)
--- 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")) {