diff --git a/Assets/ManagedResources/~Lua/Modules/Popup/View/GeneralPopup_ChooseUpSoul.lua b/Assets/ManagedResources/~Lua/Modules/Popup/View/GeneralPopup_ChooseUpSoul.lua index 6a12c45e71..20c75b1348 100644 --- a/Assets/ManagedResources/~Lua/Modules/Popup/View/GeneralPopup_ChooseUpSoul.lua +++ b/Assets/ManagedResources/~Lua/Modules/Popup/View/GeneralPopup_ChooseUpSoul.lua @@ -114,7 +114,7 @@ function this.SingleHeroDataShow(go,_heroData) local selectObj=Util.GetGameObject(_go.transform, "choosed"):GetComponent("Image") selectObj.sprite=this.spLoader:LoadSprite("r_chouka_yixuanding") local isHave = table.indexof(this.currHeroIds,heroData.Id) - selectObj.gameObject:SetActive(isHave) + selectObj.gameObject:SetActive(not not isHave) Util.AddOnceClick(btn, function() if #this.currHeroIds==3 and not isHave then PopupTipPanel.ShowTip("只可选择3枚心愿魂印")