mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2024-12-25 06:05:46 +03:00
Update leaderboard counts when fetching entries
This commit is contained in:
parent
12e26e3f5d
commit
0b55f13306
@ -360,6 +360,9 @@ private void OnScores( LeaderboardScoresDownloaded_t result, bool error )
|
|||||||
if ( client == null ) return;
|
if ( client == null ) return;
|
||||||
if ( error ) return;
|
if ( error ) return;
|
||||||
|
|
||||||
|
// Entry count may have changed
|
||||||
|
TotalEntries = client.native.userstats.GetLeaderboardEntryCount(BoardId);
|
||||||
|
|
||||||
var list = new List<Entry>();
|
var list = new List<Entry>();
|
||||||
ReadScores( result, list );
|
ReadScores( result, list );
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user