From b271160db5d0eeb549c7bdbdfc1a16e8e2887ebe Mon Sep 17 00:00:00 2001 From: Liam Date: Sat, 28 Sep 2024 08:00:22 +0100 Subject: [PATCH] oops don't use the debug number --- src/common/model/player/impl/scoresaber-player.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/model/player/impl/scoresaber-player.ts b/src/common/model/player/impl/scoresaber-player.ts index 2006ff8..d5b3f28 100644 --- a/src/common/model/player/impl/scoresaber-player.ts +++ b/src/common/model/player/impl/scoresaber-player.ts @@ -132,7 +132,7 @@ export async function getScoreSaberPlayerFromToken( // Calculate the pp change const ppChange = - todayStats.pp && todayStats.pp ? todayStats.pp - (todayStats.pp + 10) : 0; + todayStats.pp && yesterdayStats.pp ? todayStats.pp - yesterdayStats.pp : 0; return { id: token.id,