mirror of
https://github.com/Team254/cheesy-arena-lite.git
synced 2026-03-09 13:46:44 -04:00
Make playoff round ordering sequential and increasing.
This commit is contained in:
@@ -122,7 +122,7 @@ func (database *Database) GetMatchesByType(matchType string) ([]Match, error) {
|
||||
}
|
||||
return matchingMatches[i].ElimInstance < matchingMatches[j].ElimInstance
|
||||
}
|
||||
return matchingMatches[i].ElimRound > matchingMatches[j].ElimRound
|
||||
return matchingMatches[i].ElimRound < matchingMatches[j].ElimRound
|
||||
})
|
||||
return matchingMatches, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user