Fix scores, i'm a fucking moron

This commit is contained in:
jvyden 2022-08-14 19:46:38 -04:00
parent b5abe7738d
commit 2b90ed52aa
No known key found for this signature in database
GPG key ID: 18BCF2BE0262B278

View file

@ -125,8 +125,8 @@ public class ScoreController : ControllerBase
// var needed for Anonymous type returned from SELECT
var rankedScores = this.database.Scores
.Where(s => s.SlotId == slotId && s.Type == type)
.OrderBy(s => s.ScoreId)
.ThenByDescending(s => s.Points)
.OrderByDescending(s => s.Points)
.ThenBy(s => s.ScoreId)
.ToList()
.Select
(