mirror of
https://github.com/Team254/cheesy-arena-lite.git
synced 2026-03-09 21:56:50 -04:00
Remove game-specific scoring
This commit is contained in:
4
web/api.go
Normal file → Executable file
4
web/api.go
Normal file → Executable file
@@ -54,8 +54,8 @@ func (web *Web) matchesApiHandler(w http.ResponseWriter, r *http.Request) {
|
||||
var matchResultWithSummary *MatchResultWithSummary
|
||||
if matchResult != nil {
|
||||
matchResultWithSummary = &MatchResultWithSummary{MatchResult: *matchResult}
|
||||
matchResultWithSummary.RedSummary = matchResult.RedScoreSummary(true)
|
||||
matchResultWithSummary.BlueSummary = matchResult.BlueScoreSummary(true)
|
||||
matchResultWithSummary.RedSummary = matchResult.RedScoreSummary()
|
||||
matchResultWithSummary.BlueSummary = matchResult.BlueScoreSummary()
|
||||
}
|
||||
matchesWithResults[i].Result = matchResultWithSummary
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user