fix: "Return Tiles doesn't clear confirmed point total

This commit is contained in:
Joel Therrien 2025-01-12 13:49:53 -08:00
parent 0a4c213644
commit 13bea83542

View file

@ -190,6 +190,7 @@ export function Game(props: {
}
return playerLetters.slice();
} else if (update.action === TileDispatchActionType.RETURN) {
setConfirmedScorePoints(-1);
gridArrowDispatch({action: GridArrowDispatchActionType.CLEAR});
return mergeTrays(playerLetters, playerLetters);
} else if (update.action === TileDispatchActionType.MOVE_TO_ARROW) {