工会战Bug

This commit is contained in:
fatiao 2025-07-23 09:34:40 +08:00
parent 30c10770fa
commit 246720a939

View File

@ -1110,8 +1110,10 @@ function LuaBattleMgr:RefreshRoleViewComplete(fighterId, gameObject, isNewModel)
end
function LuaBattleMgr:RecycleRoleView()
local userData = ManagerContainer.DataMgr.UserData
local teamData = userData:GetTeamData(true)
for i=1, #teamData do
local data = teamData[i]
local fighterId = data.uid
self["roleViewSystem"..fighterId]:Recycle()
end