修复玩家重连失败

master
罗家炜 2025-06-10 18:59:00 +08:00
parent 09788f907f
commit c7736d808d
1 changed files with 1 additions and 1 deletions

View File

@ -215,7 +215,7 @@ function M:UpdateOutCardList(outcard, card_item, cursor)
for i = 0, #outlist - 1 do for i = 0, #outlist - 1 do
local outcard = self._view_outCardList:AddItemFromPool() local outcard = self._view_outCardList:AddItemFromPool()
self:fillCard2(outcard, outCardName, outlist[i + 1]) self:fillCard2(outcard, outCardName, outlist[i + 1])
if i == #outlist - 1 then if not cursor and i == #outlist - 1 then
outcard:AddChild(cursor) outcard:AddChild(cursor)
cursor:Center() cursor:Center()
end end