mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-05-31 21:22:28 +00:00
Fix ScoreboardResponse returning points as count
This commit is contained in:
parent
65e1ffc993
commit
deac39ef97
1 changed files with 1 additions and 1 deletions
|
@ -270,6 +270,6 @@ public class ScoreController : ControllerBase
|
|||
|
||||
List<GameScore> gameScores = pagedScores.Select(ps => GameScore.CreateFromEntity(ps.Score, ps.Rank)).ToList();
|
||||
|
||||
return new ScoreboardResponse(options.RootName, gameScores, myScore?.Score.Points ?? 0, myScore?.Rank ?? 0, rankedScores.Count);
|
||||
return new ScoreboardResponse(options.RootName, gameScores, rankedScores.Count, myScore?.Score.Points ?? 0, myScore?.Rank ?? 0);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue