mirror of https://github.com/espruino/BangleApps
score: fix bug when the score was "5 - 7" (with score to win set to 6) it was adding one to 7.
parent
7994c9fb9a
commit
fb3cd0fbc6
|
@ -155,6 +155,7 @@ function currentSet() {
|
|||
|
||||
function shouldTiebreak() {
|
||||
return settings.enableMaxScoreTiebreak &&
|
||||
scores[cSet][0] === scores[cSet][1] &&
|
||||
scores[cSet][0] + scores[cSet][1] === (maxScore() - 1) * 2;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue