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: