From 01459af59e55eccce796b0809e0228a7dba1cce5 Mon Sep 17 00:00:00 2001 From: meixiongfeng <766881921@qq.com> Date: Fri, 10 Mar 2023 15:48:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=A0=E5=8F=82=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/hero/module.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/hero/module.go b/modules/hero/module.go index 51d59052a..781238172 100644 --- a/modules/hero/module.go +++ b/modules/hero/module.go @@ -113,7 +113,7 @@ func (this *Hero) createRepeatHero(session comm.IUserSession, heroCfgId string, TT: comm.Rtype31, Params: []int32{1, cfg.Color}, }) - this.ModuleRtask.TriggerTask(session.GetUserId(), szTask) + this.ModuleRtask.TriggerTask(session.GetUserId(), szTask...) } return @@ -817,7 +817,7 @@ func (this *Hero) SendTaskMsg(session comm.IUserSession, szStar []int32, drawCou Params: []int32{drawCount}, }) //this.ModuleRtask.SendToRtask(session, comm.Rtype89, drawCount) - this.ModuleRtask.TriggerTask(session.GetUserId(), szTask) + this.ModuleRtask.TriggerTask(session.GetUserId(), szTask...) } func (this *Hero) newCondition(heroRecord *pb.DBHeroRecord) (get bool, starIndex int32) {