diff --git a/main.go b/main.go index ee4f869..d3c0b39 100644 --- a/main.go +++ b/main.go @@ -215,7 +215,8 @@ func getPlayer(w http.ResponseWriter, r *http.Request) { Score: [2]int{iMatch.ScoreTeamA, iMatch.ScoreTeamB}, Duration: iMatch.Duration, MatchResult: iMatch.MatchResult, - Rounds: iMatch.MaxRounds, + MaxRounds: iMatch.MaxRounds, + Rounds: iMatch.Rounds, Parsed: iMatch.DemoParsed, Stats: []*StatsResponse{}, } @@ -351,7 +352,8 @@ func getMatch(w http.ResponseWriter, r *http.Request) { Score: [2]int{tMatch.ScoreTeamA, tMatch.ScoreTeamB}, Duration: tMatch.Duration, MatchResult: tMatch.MatchResult, - Rounds: tMatch.MaxRounds, + MaxRounds: tMatch.MaxRounds, + Rounds: tMatch.Rounds, Parsed: tMatch.DemoParsed, Stats: []*StatsResponse{}, }