diff --git a/game-server/app/services/rewardService.ts b/game-server/app/services/rewardService.ts index 893f2c41d..4c35f61b0 100644 --- a/game-server/app/services/rewardService.ts +++ b/game-server/app/services/rewardService.ts @@ -323,7 +323,6 @@ export async function createHeroes(roleId: string, roleName: string, sid: string if(userHeroesMap.has(h.hid)) { let {pieceId, count} = transPiece(h.hid); pieces.push({ id: pieceId, count }); - userHeroesMap.delete(h.hid); } else { newHeroInfo.push(h) userHeroesMap.set(h.hid, null);