Merge branch 'master_develop' of http://60.1.1.230/gaoxin/JL_Client into master_develop

jiaoyangna 2020-09-22 11:58:54 +08:00
commit e5f3cd8e23
1 changed files with 3 additions and 4 deletions

View File

@ -263,10 +263,9 @@ function ExpeditionMainPanel:SingleLayNodeShow(go,layNodeListData)
local nodeGo = go
--卸载加载的立绘
if liveNodeList[go] then
for i = 1, #liveNodeList[go] do
local item = liveNodeList[go][i]
if item then
poolManager:UnLoadLive(item.name, item.go, PoolManager.AssetType.GameObject)
for key, value in pairs(liveNodeList[go]) do
if value then
poolManager:UnLoadLive(value.name, value.go, PoolManager.AssetType.GameObject)
end
end
end