mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-07-23 13:41:31 +00:00
Fix scores, i'm a fucking moron
This commit is contained in:
parent
b5abe7738d
commit
2b90ed52aa
1 changed files with 2 additions and 2 deletions
|
@ -125,8 +125,8 @@ public class ScoreController : ControllerBase
|
||||||
// var needed for Anonymous type returned from SELECT
|
// var needed for Anonymous type returned from SELECT
|
||||||
var rankedScores = this.database.Scores
|
var rankedScores = this.database.Scores
|
||||||
.Where(s => s.SlotId == slotId && s.Type == type)
|
.Where(s => s.SlotId == slotId && s.Type == type)
|
||||||
.OrderBy(s => s.ScoreId)
|
.OrderByDescending(s => s.Points)
|
||||||
.ThenByDescending(s => s.Points)
|
.ThenBy(s => s.ScoreId)
|
||||||
.ToList()
|
.ToList()
|
||||||
.Select
|
.Select
|
||||||
(
|
(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue