From 0387e04255e361a3ac3dacb858ffa2ef9056610b Mon Sep 17 00:00:00 2001 From: wh_zcy Date: Fri, 28 Apr 2023 14:39:43 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=91=E5=B8=81=E6=B6=88=E8=80=97=E5=9F=8B?= =?UTF-8?q?=E7=82=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/user/module.go | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/user/module.go b/modules/user/module.go index 104829bed..197d11e82 100644 --- a/modules/user/module.go +++ b/modules/user/module.go @@ -418,6 +418,7 @@ func (this *User) change(session comm.IUserSession, attr string, add int32) (cha code = pb.ErrorCode_GoldNoEnough return } + go this.ModuleRtask.TriggerTask(session.GetUserId(), comm.GettaskParam(comm.Rtype68, add)) } change.Gold += int64(add) case comm.ResExp: