From 86debd451db789e1542859056b96e373f8440d27 Mon Sep 17 00:00:00 2001 From: wh_zcy Date: Fri, 2 Dec 2022 15:19:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9=E8=B5=84=E6=BA=90=E5=8F=98?= =?UTF-8?q?=E5=8C=96=E6=8E=A8=E9=80=81=E9=A1=BA=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/user/module.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/user/module.go b/modules/user/module.go index 2eac87352..2713f3ae6 100644 --- a/modules/user/module.go +++ b/modules/user/module.go @@ -356,8 +356,6 @@ func (this *User) change(session comm.IUserSession, attr string, add int32) (cha code = pb.ErrorCode_DBError } - this.ModuleUser.EventUserChanged(session) - return } @@ -396,6 +394,8 @@ func (this *User) AddAttributeValues(session comm.IUserSession, attrs map[string if bPush { //推送玩家账号信息变化消息 session.SendMsg(string(this.GetType()), "reschanged", _change) } + + this.ModuleUser.EventUserChanged(session) } return