寻宝:结束的同时动会弹出报错

This commit is contained in:
luying
2022-08-18 10:12:16 +08:00
parent 544056ebbe
commit 7c8254ecdf

View File

@@ -451,7 +451,7 @@ export class ComBattleHandler {
}
if (teamStatus.status !== COM_TEAM_STATUS.FIGHTING) {
checkTeamStatusAndSend(teamCode, roleId, sid);
return resResult(STATUS.COM_BATTLE_NOT_START);
return resResult(STATUS.SUCCESS);
}
for (let st of teamStatus.roleStatus) {
if (st.roleId === roleId && (!st.heroes || st.heroes.length === 0)) {