fix pvpEnd显示得分未校验
This commit is contained in:
@@ -486,7 +486,7 @@ export async function generMyRecInfo(heroScores: HeroScores[], winStreakNum: num
|
|||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
showHeroScores.push({
|
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');
|
const myHero = await HeroModel.findByHidAndRole(hid, roleId, 'quality star colorStar lv');
|
||||||
|
|||||||
Reference in New Issue
Block a user