diff --git a/Assets/ManagedResources/~Lua/Modules/Popup/View/GeneralPopup_ChooseUpHero.lua b/Assets/ManagedResources/~Lua/Modules/Popup/View/GeneralPopup_ChooseUpHero.lua index 9cba0810fa..28fc118f1b 100644 --- a/Assets/ManagedResources/~Lua/Modules/Popup/View/GeneralPopup_ChooseUpHero.lua +++ b/Assets/ManagedResources/~Lua/Modules/Popup/View/GeneralPopup_ChooseUpHero.lua @@ -78,11 +78,10 @@ function this:OnShow(_parent,_args) parent=_parent sortingOrder =_parent.sortingOrder local default = 1 - local UpList = ConfigManager.GetConfigDataByKey(ConfigName.WishActivityUp,"ActivityId",ActivityGiftManager.GetActivityIdByType(ActivityTypeDef.LimitUpHero)).UpList if currHeroId and currHeroId ~= 0 then - for index, value in ipairs(UpList) do + for index, value in ipairs(heros) do if value[1] == currHeroId then - default = value[5] + default = value[2] break end end