yay more pp fix
This commit is contained in:
parent
14602dc11a
commit
68a81a24de
@ -26,10 +26,11 @@ export default class ScoreStats extends Component {
|
|||||||
data.percentage.replace("%", ""),
|
data.percentage.replace("%", ""),
|
||||||
data.websiteType
|
data.websiteType
|
||||||
);
|
);
|
||||||
|
console.log(this.lastKnownPP);
|
||||||
if (this.lastKnownPP === undefined) {
|
if (this.lastKnownPP === undefined) {
|
||||||
this.lastKnownPP = currentPP;
|
this.lastKnownPP = currentPP;
|
||||||
}
|
}
|
||||||
if (currentPP < this.lastKnownPP || currentPP === undefined) {
|
if (currentPP === undefined) {
|
||||||
currentPP = this.lastKnownPP;
|
currentPP = this.lastKnownPP;
|
||||||
}
|
}
|
||||||
this.lastKnownPP = currentPP;
|
this.lastKnownPP = currentPP;
|
||||||
|
Reference in New Issue
Block a user