Skip to content

Commit

Permalink
fix: friend ranking can provide more than 100 entires (WTF)
Browse files Browse the repository at this point in the history
  • Loading branch information
KotRikD authored May 30, 2024
1 parent d71eb23 commit 59b4435
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/tosu/src/entities/GamePlayData/Leaderboard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export class Leaderboard {

const playersArray = this.process.readInt(this.leaderboardBase + 0x4);
const amOfSlots = this.process.readInt(playersArray + 0xc);
if (amOfSlots < 1 || amOfSlots > 64) {
if (amOfSlots < 1) {
return;
}

Expand Down

0 comments on commit 59b4435

Please sign in to comment.