diff --git a/modules/hero/api_talentreset.go b/modules/hero/api_talentreset.go index 7a537dd90..ef7469a08 100644 --- a/modules/hero/api_talentreset.go +++ b/modules/hero/api_talentreset.go @@ -54,6 +54,7 @@ func (this *apiComp) TalentReset(session comm.IUserSession, req *pb.HeroTalentRe update := make(map[string]interface{}, 0) szTalent := map[int32]int32{} update["talent"] = szTalent + _talent.Talent = szTalent this.module.modelTalent.ChangeHeroTalent(_talent, update) heroList = this.module.GetHeroList(session.GetUserId()) for _, hero := range heroList {