diff options
Diffstat (limited to 'build/cleaners/rank.js')
-rw-r--r-- | build/cleaners/rank.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/build/cleaners/rank.js b/build/cleaners/rank.js index ea8af7e..2b8fb77 100644 --- a/build/cleaners/rank.js +++ b/build/cleaners/rank.js @@ -25,10 +25,10 @@ function cleanRank({ packageRank, newPackageRank, monthlyPackageRank, rankPlusCo name = colored.replace(/ยง./g, '').replace(/[\[\]]/g, ''); } else { - name = rank + name = monthlyPackageRank + || rank || (newPackageRank === null || newPackageRank === void 0 ? void 0 : newPackageRank.replace('_PLUS', '+')) - || (packageRank === null || packageRank === void 0 ? void 0 : packageRank.replace('_PLUS', '+')) - || monthlyPackageRank; + || (packageRank === null || packageRank === void 0 ? void 0 : packageRank.replace('_PLUS', '+')); // MVP++ is called Superstar for some reason if (name === 'SUPERSTAR') name = 'MVP++'; |