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

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 => {

View File

@@ -27,7 +27,7 @@ export function loadTower() {
o.warArray = parseNumberList(o.warArray);
o.reward = parseGoodStr(o.reward);
o.rewardOfcollect = parseGoodStrOfCollect(o.rewardOfcollect);
o.canSkip = true;
o.canSkip = o.canSkip == 1;
dicTower.set(o.towerFloor, o);
});
arr = undefined;