diff --git a/modules/moonfantasy/module.go b/modules/moonfantasy/module.go index 2c43b6bf6..51b89d4ee 100644 --- a/modules/moonfantasy/module.go +++ b/modules/moonfantasy/module.go @@ -93,7 +93,14 @@ func (this *Moonfantasy) Trigger(session comm.IUserSession, source *pb.BattleRep n, _ := rand.Int(rand.Reader, big.NewInt(1000)) if int32(n.Int64()) < triggerData.DreamlandPro { if this.IsCross() { - this.modelDream.trigger(session) + go func(uid string) { + ss, _ := this.GetUserSession(uid) + this.modelDream.trigger(ss) + if err = ss.Push(); err != nil { + this.Errorln(err) + } + }(session.GetUserId()) + } else { if _, err = this.service.AcrossClusterRpcGo(context.Background(), this.GetCrossTag(),