fixtures #2

Merged
h merged 20 commits from fixtures into master 2026-02-23 20:38:26 +11:00
Showing only changes of commit 52a168f1aa - Show all commits

View File

@@ -269,7 +269,7 @@ func playOtherTeams(team *Team, teams []*Team, round int) []*versus {
matchups := make([]*versus, len(teams))
for i, opponent := range teams {
versus := &versus{}
if i%2+round%2 == 0 {
if (i+round)%2 == 0 {
versus.homeTeam = team
versus.awayTeam = opponent
} else {