通知前端重复获得英雄分解
This commit is contained in:
parent
de4013d7e9
commit
a9743c6169
@ -830,6 +830,12 @@ func (this *ModelHero) createHero(session comm.IUserSession, heroCfgId string, c
|
||||
if obj.HeroID == heroCfgId {
|
||||
hero = obj
|
||||
bFirst = false
|
||||
atno = append(atno, &pb.UserAtno{ // 有英雄的时候 数量给0
|
||||
A: "hero",
|
||||
T: hero.HeroID,
|
||||
N: 0,
|
||||
O: hero.Id,
|
||||
})
|
||||
break
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user