diff --git a/Assets/ManagedResources/~Lua/Modules/Fight/FightPointPassManager.lua b/Assets/ManagedResources/~Lua/Modules/Fight/FightPointPassManager.lua index 72f94ce973..7904b940e5 100644 --- a/Assets/ManagedResources/~Lua/Modules/Fight/FightPointPassManager.lua +++ b/Assets/ManagedResources/~Lua/Modules/Fight/FightPointPassManager.lua @@ -663,10 +663,10 @@ end -- 获取当前需要显示的描述文字 function this.GetCurLevelTips() - LogError("GetCurLevelTips") + --LogError("GetCurLevelTips") for id, config in ConfigPairs(LevelTipsConfig) do - LogError(id) + --LogError(id) if config.Type == 1 then if this.CarbonIdCompare(this.GetCurFightId(), config.Parameter) <= 0 then return config.Desc -- string.format("通关%s,%s", mainLevelConfig[config.Parameter].Name, config.Desc) diff --git a/Assets/ManagedResources/~Lua/Modules/Recruit/SingleRecruitPanel.lua b/Assets/ManagedResources/~Lua/Modules/Recruit/SingleRecruitPanel.lua index 838355c221..a982831827 100644 --- a/Assets/ManagedResources/~Lua/Modules/Recruit/SingleRecruitPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/Recruit/SingleRecruitPanel.lua @@ -352,7 +352,7 @@ function SingleRecruitPanel:UpdataPanelData(_heroData) this.UI_Effect_appear:SetActive(false) Sound_Recruit3 = SoundManager.PlaySound(SoundConfig.Sound_Recruit3) - if heroStaticData and testLiveGO then + if heroStaticData and not IsNull(testLiveGO) then poolManager:UnLoadLive(GetResourcePath(heroStaticData.Live), testLiveGO) heroStaticData, testLiveGO = nil, nil end