【乾坤宝盒】报错修改

dev_chengFeng
ZhangBiao 2021-09-27 11:46:17 +08:00
parent a3c65ee8d1
commit 90d9530b2b
1 changed files with 1 additions and 1 deletions

View File

@ -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枚心愿魂印")