mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-05-11 04:32:27 +00:00
Fix friend scores and typo in log
This commit is contained in:
parent
22905d419c
commit
cf5369d372
2 changed files with 3 additions and 3 deletions
|
@ -206,7 +206,7 @@ public class ScoreController : ControllerBase
|
|||
// This is hella ugly but it technically assigns the proper rank to a score
|
||||
// var needed for Anonymous type returned from SELECT
|
||||
var rankedScores = this.database.Scores
|
||||
.Where(s => playerIds == null || playerIds.Any(id => s.PlayerIdCollection.Split(",", StringSplitOptions.None).Contains(id)))
|
||||
.Where(s => playerIds == null || playerIds.Contains(s.MainPlayer))
|
||||
.Where(s => s.SlotId == slotId && s.Type == type)
|
||||
.OrderByDescending(s => s.Points)
|
||||
.ThenBy(s => s.ScoreId)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue