Merge branch 'dev' of http://git.legu.cc/liwei_3d/go_dreamfactory into dev
This commit is contained in:
commit
ef9d0bdc9b
@ -54,7 +54,7 @@ func (this *apiComp) BattleFinish(session comm.IUserSession, req *pb.WTaskBattle
|
||||
if req.Report != nil && req.Report.Info != nil && len(req.Report.Info.Redflist) > 0 {
|
||||
heros := make([]string, 0)
|
||||
for _, v := range req.Report.Info.Redflist[0].Team {
|
||||
if !v.Ishelp { // 助战英雄不加经验
|
||||
if v.Oid != "" && !v.Ishelp { // 助战英雄不加经验
|
||||
heros = append(heros, v.Oid)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user