From 68a81a24ded4da1d24abf220deb9b61138875016 Mon Sep 17 00:00:00 2001 From: Liam <67254223+RealFascinated@users.noreply.github.com> Date: Thu, 20 Oct 2022 18:39:44 +0100 Subject: [PATCH] yay more pp fix --- src/components/ScoreStats.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/ScoreStats.js b/src/components/ScoreStats.js index 77628a6..e42e932 100644 --- a/src/components/ScoreStats.js +++ b/src/components/ScoreStats.js @@ -26,10 +26,11 @@ export default class ScoreStats extends Component { data.percentage.replace("%", ""), data.websiteType ); + console.log(this.lastKnownPP); if (this.lastKnownPP === undefined) { this.lastKnownPP = currentPP; } - if (currentPP < this.lastKnownPP || currentPP === undefined) { + if (currentPP === undefined) { currentPP = this.lastKnownPP; } this.lastKnownPP = currentPP;