From 44cc901736a1a9bb16077cbaa6fd7184af7438b5 Mon Sep 17 00:00:00 2001 From: luying Date: Tue, 12 Jan 2021 15:33:42 +0800 Subject: [PATCH] =?UTF-8?q?fix=20pvpEnd=E6=98=BE=E7=A4=BA=E5=BE=97?= =?UTF-8?q?=E5=88=86=E6=9C=AA=E6=A0=A1=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- game-server/app/services/pvpService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game-server/app/services/pvpService.ts b/game-server/app/services/pvpService.ts index 2039f8c07..0b38d2086 100644 --- a/game-server/app/services/pvpService.ts +++ b/game-server/app/services/pvpService.ts @@ -486,7 +486,7 @@ export async function generMyRecInfo(heroScores: HeroScores[], winStreakNum: num }); } else { showHeroScores.push({ - hid, addScore: 0, plusScore: 0, score: curHeroScore.score + hid, addScore: 0, plusScore: 0, score: curHeroScore?curHeroScore.score: 0 }); } const myHero = await HeroModel.findByHidAndRole(hid, roleId, 'quality star colorStar lv');