fix: "Return Tiles doesn't clear confirmed point total
This commit is contained in:
parent
0a4c213644
commit
13bea83542
1 changed files with 1 additions and 0 deletions
|
@ -190,6 +190,7 @@ export function Game(props: {
|
||||||
}
|
}
|
||||||
return playerLetters.slice();
|
return playerLetters.slice();
|
||||||
} else if (update.action === TileDispatchActionType.RETURN) {
|
} else if (update.action === TileDispatchActionType.RETURN) {
|
||||||
|
setConfirmedScorePoints(-1);
|
||||||
gridArrowDispatch({action: GridArrowDispatchActionType.CLEAR});
|
gridArrowDispatch({action: GridArrowDispatchActionType.CLEAR});
|
||||||
return mergeTrays(playerLetters, playerLetters);
|
return mergeTrays(playerLetters, playerLetters);
|
||||||
} else if (update.action === TileDispatchActionType.MOVE_TO_ARROW) {
|
} else if (update.action === TileDispatchActionType.MOVE_TO_ARROW) {
|
||||||
|
|
Loading…
Reference in a new issue