Skip to content

Commit

Permalink
fix: incorrect pp for accuracy in menu
Browse files Browse the repository at this point in the history
  • Loading branch information
cyperdark committed Jul 10, 2024
1 parent 2aa747f commit 2939ddb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/tosu/src/entities/BeatmapPpData/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ export class BeatmapPPData extends AbstractEntity {
const ppAcc = {};
for (const acc of [100, 99, 98, 97, 96, 95]) {
const calculate = new rosu.Performance({
mods: currentMods,
accuracy: acc
}).calculate(fcPerformance);
ppAcc[acc] = fixDecimals(calculate.pp);
Expand Down

0 comments on commit 2939ddb

Please sign in to comment.