【编队】修复保存编队接口名修改导致的报错
parent
d83cf97ae2
commit
8c76d476a2
|
@ -110,7 +110,7 @@ function this.On_Btn2_Click()
|
|||
PopupTipPanel.ShowTip("挑战编队为空")
|
||||
return
|
||||
end
|
||||
FormationManager.RefreshFormation(
|
||||
FormationManager.SaveFormation(
|
||||
this.root.curFormationIndex,
|
||||
newteam,
|
||||
FormationManager.formationList[this.root.curFormationIndex].teamPokemonInfos
|
||||
|
|
|
@ -287,7 +287,7 @@ function this.SaveFormation(curType)
|
|||
table.insert(choosedList, {heroId = teamInfo.heroId,position=teamInfo.position})
|
||||
end
|
||||
end
|
||||
FormationManager.RefreshFormation(
|
||||
FormationManager.SaveFormation(
|
||||
(3000 + curType),
|
||||
choosedList,
|
||||
FormationManager.formationList[(3000 + curType)].teamPokemonInfos
|
||||
|
@ -493,7 +493,7 @@ function this.SetFriendHelpHero(helpFightList,trailType)
|
|||
end
|
||||
end
|
||||
if LengthOfTable(newteam) ~= LengthOfTable(team.teamHeroInfos) then
|
||||
FormationManager.RefreshFormation(
|
||||
FormationManager.SaveFormation(
|
||||
i + 3000,
|
||||
newteam,
|
||||
FormationManager.formationList[i + 3000].teamPokemonInfos)
|
||||
|
@ -531,7 +531,7 @@ function this.SetFriendHelpHero(helpFightList,trailType)
|
|||
end
|
||||
end
|
||||
if LengthOfTable(newteam) ~= LengthOfTable(team.teamHeroInfos) then
|
||||
FormationManager.RefreshFormation(
|
||||
FormationManager.SaveFormation(
|
||||
trailType + 3000,
|
||||
newteam,
|
||||
FormationManager.formationList[trailType + 3000].teamPokemonInfos)
|
||||
|
@ -547,7 +547,7 @@ function this.SetFriendHelpHero(helpFightList,trailType)
|
|||
end
|
||||
end
|
||||
if LengthOfTable(newteam) ~= LengthOfTable(team.teamHeroInfos) then
|
||||
FormationManager.RefreshFormation(
|
||||
FormationManager.SaveFormation(
|
||||
this.root.curFormationIndex,
|
||||
this.root.choosedList,
|
||||
FormationManager.formationList[this.root.curFormationIndex].teamPokemonInfos)
|
||||
|
|
|
@ -114,7 +114,7 @@ function FourTrailSingleHelpHero:SetIcon1(heroData,player)
|
|||
table.insert(choosedList, {heroId = teamInfo.heroId,position=teamInfo.position})
|
||||
end
|
||||
end
|
||||
FormationManager.RefreshFormation(
|
||||
FormationManager.SaveFormation(
|
||||
(1700 + self.curType),
|
||||
choosedList,
|
||||
FormationManager.formationList[(1700 + self.curType)].teamPokemonInfos
|
||||
|
|
Loading…
Reference in New Issue