only report match winners

This commit is contained in:
2024-02-03 12:54:19 -06:00
parent 016d297f10
commit 9a02235eba
3 changed files with 3 additions and 3 deletions

View File

@@ -240,7 +240,7 @@ func (g *Match) DTO(id player.ID) serve.Game {
blank = len(g.shells) - live
}
w := serve.NoWinner
switch g.RoundWinner() {
switch g.MatchWinner() {
case &g.players[0]:
w = serve.DealerWins
case &g.players[1]: