This commit is contained in:
liwei1dao 2022-12-02 16:33:00 +08:00
commit 6916304695

View File

@ -366,8 +366,6 @@ func (this *User) change(session comm.IUserSession, attr string, add int32) (cha
code = pb.ErrorCode_DBError code = pb.ErrorCode_DBError
} }
this.ModuleUser.EventUserChanged(session)
return return
} }
@ -406,6 +404,8 @@ func (this *User) AddAttributeValues(session comm.IUserSession, attrs map[string
if bPush { //推送玩家账号信息变化消息 if bPush { //推送玩家账号信息变化消息
session.SendMsg(string(this.GetType()), "reschanged", _change) session.SendMsg(string(this.GetType()), "reschanged", _change)
} }
this.ModuleUser.EventUserChanged(session)
} }
return return