From 109a3dab6e618c0c684baaf2ab8525669ae3df86 Mon Sep 17 00:00:00 2001 From: liangtongchuan Date: Mon, 18 Jan 2021 20:15:56 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=BB=E5=AE=9D=EF=BC=9A=E5=8C=B9=E9=85=8D?= =?UTF-8?q?=E5=BC=80=E6=88=98=E6=97=B6=E6=9B=B4=E6=96=B0=E5=86=85=E5=AD=98?= =?UTF-8?q?=E4=B8=AD=E7=9A=84=E5=AF=BB=E5=AE=9D=E7=8A=B6=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- game-server/app/servers/battle/handler/comBattleHandler.ts | 1 + 1 file changed, 1 insertion(+) 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);