空数据过滤

This commit is contained in:
meixiongfeng 2023-07-28 18:14:13 +08:00
parent 78a28de946
commit 855f59a462

View File

@ -972,8 +972,11 @@ func (this *modelBattleComp) creatStoneBattle(session comm.IUserSession, diBuff
return
}
for _, v1 := range masters {
if v1 != nil {
v1.BattleBeforeSkill = diBuff
}
}
record.Buleflist[i] = &pb.DBBattleFormt{
Leadpos: captain,
Team: masters,