diff options
Diffstat (limited to 'src/cleaners/rank.ts')
-rw-r--r-- | src/cleaners/rank.ts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/cleaners/rank.ts b/src/cleaners/rank.ts index 0e17a17..6d12f6f 100644 --- a/src/cleaners/rank.ts +++ b/src/cleaners/rank.ts @@ -39,9 +39,10 @@ export function cleanRank({ } else { if (monthlyPackageRank && monthlyPackageRank !== 'NONE') name = monthlyPackageRank - else + else if (rank && rank !== 'NORMAL') name = rank - ?? newPackageRank?.replace('_PLUS', '+') + else + name = newPackageRank?.replace('_PLUS', '+') ?? packageRank?.replace('_PLUS', '+') // MVP++ is called Superstar for some reason |