Fix pp showing for unranked maps

This commit is contained in:
Liam 2022-10-30 14:45:12 +00:00
parent d5b367d272
commit b633e0b59b

@ -31,6 +31,9 @@ export default class Utils {
}
static calculatePP(stars, acc, type) {
if (stars <= 0) {
return undefined;
}
if (type === "BeatLeader") {
return getBeatLeaderPP(acc, stars);
}