寻宝:匹配开战时更新内存中的寻宝状态
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user