From 0ce89251f875ca11ec96a4469ed60c65c9278633 Mon Sep 17 00:00:00 2001 From: gaoxin Date: Thu, 24 Feb 2022 02:56:42 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E9=80=89=E6=8B=A9=E7=A5=9E=E5=B0=86?= =?UTF-8?q?=E3=80=91=E6=8A=A5=E9=94=99=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../~Lua/Modules/Popup/View/GeneralPopup_ChooseUpHero.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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