@ -223,8 +223,8 @@
matches.forEach(match => {
if (match && match.court) {
const courtNum = this.getCourtNumber(match.court_index);
if (courtNum > 0 && courtNum <= this.courtCount) {
courtMatches[courtNum - 1] = match;
if (courtNum >= 0 && courtNum < this.courtCount) {
courtMatches[courtNum] = match;
}
});