reset list of moved tiles after scoring

This commit is contained in:
Laurent Mazet 2020-11-23 22:45:30 +01:00
parent f5f53ac7a8
commit 7d4301636f
1 changed files with 3 additions and 0 deletions

View File

@ -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);
}