diff --git a/modules/battle/module.go b/modules/battle/module.go index 246c8ae60..cd2711bb3 100644 --- a/modules/battle/module.go +++ b/modules/battle/module.go @@ -118,6 +118,12 @@ func (this *Battle) CreatePveBattle(session comm.IUserSession, req *pb.BattlePVE if req.Format.Friendformat != nil && len(req.Format.Friendformat) != 5 { code = pb.ErrorCode_ReqParameterError } + for _, v := range req.Format.Friendformat { + if v != "" { + this.ModuleRtask.SendToRtask(session, comm.Rtype108, 1) + break + } + } if record, code = this.modelBattle.createpve(session, conn, pb.BattleType_pve, req); code != pb.ErrorCode_Success { return