空数据过滤
This commit is contained in:
parent
78a28de946
commit
855f59a462
@ -972,7 +972,10 @@ func (this *modelBattleComp) creatStoneBattle(session comm.IUserSession, diBuff
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
for _, v1 := range masters {
|
for _, v1 := range masters {
|
||||||
v1.BattleBeforeSkill = diBuff
|
if v1 != nil {
|
||||||
|
v1.BattleBeforeSkill = diBuff
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
record.Buleflist[i] = &pb.DBBattleFormt{
|
record.Buleflist[i] = &pb.DBBattleFormt{
|
||||||
Leadpos: captain,
|
Leadpos: captain,
|
||||||
|
Loading…
Reference in New Issue
Block a user