寻宝:修复退队时候自动解散功能无
This commit is contained in:
@@ -364,12 +364,12 @@ export class ComBattleHandler {
|
||||
if (validToJoin(curTeamStatus)) {
|
||||
let roleSt: RoleStatus;
|
||||
for (let st of curTeamStatus.roleStatus) {
|
||||
if (st.roleId === roleId) {
|
||||
if (st.isCap) {
|
||||
roleSt = st;
|
||||
}
|
||||
}
|
||||
if (!roleSt) return;
|
||||
let { topLineupCe, lv } = roleSt;
|
||||
let { roleId, topLineupCe, lv } = roleSt;
|
||||
await addRobotsToTeam(curTeamStatus, roleId, topLineupCe, lv, thiz.teamMap, thiz.teamDisTimer, 3 - curTeamStatus.roleIds.length);
|
||||
}
|
||||
}, COM_BTL_CONST.ASSIST_TIME);
|
||||
|
||||
Reference in New Issue
Block a user