pvp:修复排行榜顺序

This commit is contained in:
luying
2022-08-11 16:45:54 +08:00
parent dccf020380
commit b4ea0a6fba
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -660,7 +660,7 @@ export class Rank {
}
}
public async getRankListWithMyRank(myId: myIdInter, isReverse = false) {
public async getRankListWithMyRank(myId: myIdInter, isReverse = true) {
let ranks = await this.getRankByRange('+inf', '-inf', isReverse);
let newRanks = [], newMyRank: any;
let myRank = ranks.find(cur => {