diff --git a/Assets/ManagedResources/~Lua/Modules/CompoundHero/view/CompoundHero_Compound.lua b/Assets/ManagedResources/~Lua/Modules/CompoundHero/view/CompoundHero_Compound.lua index 325ed731fe..c24a2bd330 100644 --- a/Assets/ManagedResources/~Lua/Modules/CompoundHero/view/CompoundHero_Compound.lua +++ b/Assets/ManagedResources/~Lua/Modules/CompoundHero/view/CompoundHero_Compound.lua @@ -186,6 +186,9 @@ function this.UpdateHeroUpStarData(_curUpStarData) if _curUpStarData then upStarConsumeMaterial={} upStarMaterialIsAll = {} + for i = 2, #needHeros do + needHeros[i]:SetActive(false) + end for i = 1, #_curUpStarData.upStarMaterialsData do local upStarMaterialsData = _curUpStarData.upStarMaterialsData[i] local curUpStarData = _curUpStarData.upStarData[i]