🐞 fix(icon): 修改机器人不推送

This commit is contained in:
zhangxk
2023-09-01 11:39:35 +08:00
parent 94cce57ce6
commit 87de2eb66f

View File

@@ -235,7 +235,7 @@ export class LadderHandler {
await checkTaskInLadderEnd(serverId, roleId, sid, isSuccess, historyRank, atkLadderMatch.rank);
if (isSuccess || !rec.defenseInfo?.isRobot) await pushLadderIconShow(rec.roleId2, true);
if (isSuccess && !rec.defenseInfo?.isRobot) await pushLadderIconShow(rec.roleId2, true);
return resResult(STATUS.SUCCESS, {...pick(result, ['rank', 'historyRank', 'challengeCnt','status', 'time', 'oppPlayers']), battleGoods, breakGoods});
}