fix 修复重复刷新对手
This commit is contained in:
@@ -112,7 +112,7 @@ export async function matchPlayerByRank(oppPlayers: OppPlayers[], mapWarJson: Di
|
||||
console.log('matchPlayerByRank', JSON.stringify(oppPlayers))
|
||||
let ridRanks = new Array<number>(); // 已经被使用了的排名
|
||||
for(let { roleId: curRoleId } of oppPlayers) {
|
||||
let rankLv = await getMyRank(REDIS_KEY.PVP_RANK, 0, curRoleId);
|
||||
let rankLv = await getMyRank(REDIS_KEY.PVP_RANK, 0, robotIdComBack(curRoleId));
|
||||
ridRanks.push(rankLv);
|
||||
}
|
||||
let myRank = await getMyRank(REDIS_KEY.PVP_RANK, 0, roleId);
|
||||
|
||||
Reference in New Issue
Block a user