初始化
This commit is contained in:
parent
f80a3f08ec
commit
00dee7ed6d
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user