reset list of moved tiles after scoring
This commit is contained in:
parent
f5f53ac7a8
commit
7d4301636f
|
@ -1043,6 +1043,9 @@
|
|||
|
||||
if (Object.prototype.hasOwnProperty.call(player, "score")) {
|
||||
const scoreCell = getScoreCell(playerName);
|
||||
if (scoreCell.textContent != player.score) {
|
||||
currentTilePlayed = {};
|
||||
}
|
||||
scoreCell.textContent = player.score;
|
||||
blink(scoreCell);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue