Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1380,7 +1380,8 @@ public void LoadScores(ILeaderboard board, Action<bool> callback)
" callback is " + callback);
mClient.LoadScores(
board.id,
LeaderboardStart.PlayerCentered,
// Corrected: If the from parameter is non-positive, then the results returned are player-centered, meaning the scores around the current player's score are returned.
board.range.from <= 0 ? LeaderboardStart.PlayerCentered: LeaderboardStart.TopScores,
board.range.count > 0 ? board.range.count : mClient.LeaderboardMaxResults(),
board.userScope == UserScope.FriendsOnly ? LeaderboardCollection.Social : LeaderboardCollection.Public,
timeSpan,
Expand Down