mirror of
https://github.com/Team254/cheesy-arena-lite.git
synced 2026-03-10 06:06:47 -04:00
Merge pull request #10 from phil-lopreiato/tba-rankings-update
TBA Rankings Posting: move WLT to breakdowns
This commit is contained in:
2
tba.go
2
tba.go
@@ -153,7 +153,7 @@ func PublishRankings() error {
|
||||
}
|
||||
|
||||
// Build a JSON object of TBA-format rankings.
|
||||
breakdowns := []string{"QS", "Assist", "Auto", "T&C", "G&F"}
|
||||
breakdowns := []string{"QS", "Assist", "Auto", "T&C", "G&F", "wins", "losses", "ties"}
|
||||
tbaRankings := make([]TbaRanking, len(rankings))
|
||||
for i, ranking := range rankings {
|
||||
tbaRankings[i] = TbaRanking{getTbaTeam(ranking.TeamId), ranking.Rank, ranking.Wins, ranking.Losses,
|
||||
|
||||
Reference in New Issue
Block a user