diff --git a/models/ProfileRank.js b/models/ProfileRank.js index 49ce9bc1..18033bf9 100644 --- a/models/ProfileRank.js +++ b/models/ProfileRank.js @@ -30,7 +30,7 @@ export default class ProfileRank { for (let typeKey of ['mark', 'dmg']) { let typeRank = await this.getTypeRank(profile, typeKey, force) ret[typeKey] = typeRank - if (!ret.rank || ret.rank <= typeRank.rank) { + if (!ret.rank || ret.rank >= typeRank.rank) { ret.rank = typeRank.rank ret.rankType = typeKey }