From d08c072271861b9fe64cf8d84e6b1610005f36b1 Mon Sep 17 00:00:00 2001 From: mat <27899617+mat-1@users.noreply.github.com> Date: Sun, 28 Feb 2021 15:58:25 -0600 Subject: fix some players having "normal" rank --- src/cleaners/rank.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/cleaners') 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 -- cgit