diff --git a/game-server/app/services/pvpService.ts b/game-server/app/services/pvpService.ts index 108c690b4..a3c8f4aba 100644 --- a/game-server/app/services/pvpService.ts +++ b/game-server/app/services/pvpService.ts @@ -112,7 +112,7 @@ export async function matchPlayerByRank(oppPlayers: OppPlayers[], mapWarJson: Di console.log('matchPlayerByRank', JSON.stringify(oppPlayers)) let ridRanks = new Array(); // 已经被使用了的排名 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);