初始化

This commit is contained in:
meixiongfeng 2023-03-03 16:05:39 +08:00
parent f80a3f08ec
commit 00dee7ed6d

View File

@ -299,6 +299,7 @@ func (this *Hero) AddHeroExp(session comm.IUserSession, heroObjID string, exp in
_hero *pb.DBHero
_changeHero []*pb.DBHero // 变化的英雄
)
_hero = &pb.DBHero{}
if heroObjID == "" {
return
}