diff --git a/modules/hero/model_record.go b/modules/hero/model_record.go index 63fef19cb..4c4f4c302 100644 --- a/modules/hero/model_record.go +++ b/modules/hero/model_record.go @@ -33,6 +33,7 @@ func (this *ModelRecord) GetHeroRecord(uid string) (result *pb.DBHeroRecord, err result.Star5Hero = map[string]int32{} result.Mtime = configure.Now().Unix() this.Add(uid, result) + err = nil } return }