diff --git a/game-server/app/services/pvpService.ts b/game-server/app/services/pvpService.ts index 909c5091b..76d3e159d 100644 --- a/game-server/app/services/pvpService.ts +++ b/game-server/app/services/pvpService.ts @@ -146,6 +146,7 @@ export async function matchPlayerByRank(seasonNum: number, chosenOpps: string[], } } } + if(oppRank <= 0) return null; let result = await r.getUserByRank(oppRank); if (result.length <= 0) return null; oppRoleId = result[0];