RetroAchievements / RAIntegration

The DLL responsible to integrate emulators with RetroAchievements.org
https://retroachievements.org
MIT License
98 stars 22 forks source link

put previous best on correct entry when rank is shared #754

Closed Jamiras closed 3 years ago

Jamiras commented 3 years ago

The logic that was appending the player's best leaderboard score when it hasn't improved was finding the player entry by rank. When multiple users share a rank, this could potentially place the best score on another player's entry.

I've updated the code to match the username instead of the rank.