Update leaderboard counts when fetching entries

This commit is contained in:
James King 2019-02-08 23:10:19 +00:00
parent 12e26e3f5d
commit 0b55f13306

View File

@ -360,6 +360,9 @@ private void OnScores( LeaderboardScoresDownloaded_t result, bool error )
if ( client == null ) return;
if ( error ) return;
// Entry count may have changed
TotalEntries = client.native.userstats.GetLeaderboardEntryCount(BoardId);
var list = new List<Entry>();
ReadScores( result, list );