diff --git a/game-server/app/servers/battle/handler/comBattleHandler.ts b/game-server/app/servers/battle/handler/comBattleHandler.ts index b5b885a54..0e1c65396 100644 --- a/game-server/app/servers/battle/handler/comBattleHandler.ts +++ b/game-server/app/servers/battle/handler/comBattleHandler.ts @@ -257,6 +257,7 @@ export class ComBattleHandler { // 机器人队伍 3 秒直接开战 setTimeout(async () => { await ComBattleTeamModel.updateStatus(teamCode, COM_TEAM_STATUS.FIGHTING); + comTeam.status = COM_TEAM_STATUS.FIGHTING; channelService.pushMessageByUids('onComBtlStart', resResult(STATUS.SUCCESS, {teamCode, roleStatus: comTeam.roleStatus}), [{uid: roleId, sid}]); }, 3000); }, COM_BTL_CONST.ASSIST_TIME);