From 7a46b5a555a218b05cf85bd6594bcf5be839aa47 Mon Sep 17 00:00:00 2001 From: meixiongfeng <766881921@qq.com> Date: Tue, 19 Dec 2023 18:35:46 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9F=8B=E7=82=B9=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/hero/module.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/modules/hero/module.go b/modules/hero/module.go index f0cda985d..c4e7ab3bd 100644 --- a/modules/hero/module.go +++ b/modules/hero/module.go @@ -556,9 +556,8 @@ func (this *Hero) SendTaskMsg(session comm.IUserSession, szStar []int32, drawCou tasks = append(tasks, comm.GetBuriedParam(comm.Rtype246, colorCount)) } tasks = append(tasks, comm.GetBuriedParam(comm.Rtype89, drawCount)) - go this.AsynHandleSession(session, func(session comm.IUserSession) { - this.ModuleBuried.TriggerBuried(session, tasks...) - }) + + this.ModuleBuried.TriggerBuried(session, tasks...) } func (this *Hero) RegisterInstructor(session comm.IUserSession, heroOid []string, fulllvenr int32) (errdata *pb.ErrorData) {