归元报错修改

dev_chengFeng
jiaoyangna 2020-07-22 16:13:25 +08:00
parent 69f61467a2
commit 404a0ffedb
1 changed files with 1 additions and 1 deletions

View File

@ -268,7 +268,7 @@ function this.GetAllHeroDataMsinusUpWar(_sortTypeId,type) --0全部 1-6属性 7
local isFormations = {}
for n, w in pairs(FormationManager.formationList) do
for m = 1, #w.teamHeroInfos do
if v.dynamicId == w.teamHeroInfos[m].heroId then
if w.teamHeroInfos[m] and v.dynamicId == w.teamHeroInfos[m].heroId then
--队伍名称 队伍id
local isFormationStr = ""
local curFormationId = 0