寻宝:匹配修改
This commit is contained in:
@@ -74,7 +74,7 @@ export class ComBattleHandler {
|
||||
addRoleToTeam(comTeam, roleInfo, sid, true, false);
|
||||
addUserToTeamChannel(teamCode, true, roleId, sid);
|
||||
// 将正在匹配的符合要求的玩家加入队伍,并推送入队消息
|
||||
await addValidSearchingRoles(comTeam);
|
||||
if(pub == true) await addValidSearchingRoles(comTeam);
|
||||
|
||||
// 队伍数据持久化
|
||||
const team = await ComBattleTeamModel.createTeam(comTeam);
|
||||
|
||||
Reference in New Issue
Block a user