更改资源变化推送顺序
This commit is contained in:
parent
a2b0a2505a
commit
86debd451d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user