排行奖励切换奖励显示不正确修改
parent
86bf793ba7
commit
e947ab68b2
|
@ -223,6 +223,12 @@ function this.RefreshMyInfo()
|
|||
sortNumTabs[i] = Util.GetGameObject(this.myInfo, "sortNum/sortNum ("..i..")")
|
||||
sortNumTabs[i]:SetActive(false)
|
||||
end
|
||||
if not itemList2 then
|
||||
itemList2 = {}
|
||||
end
|
||||
for i = 1, #itemList2 do
|
||||
itemList2[i].gameObject:SetActive(false)
|
||||
end
|
||||
if myrank and myrank > 0 then
|
||||
if myrank < 4 then
|
||||
sortNumTabs[myrank]:SetActive(true)
|
||||
|
@ -231,13 +237,6 @@ function this.RefreshMyInfo()
|
|||
Util.GetGameObject(sortNumTabs[4], "rankNumberText"):GetComponent("Text").text = myrank
|
||||
end
|
||||
|
||||
if not itemList2 then
|
||||
itemList2 = {}
|
||||
end
|
||||
for i = 1, #itemList2 do
|
||||
itemList2[i].gameObject:SetActive(false)
|
||||
end
|
||||
|
||||
--获取奖励
|
||||
if curRankType == 3 then--竞技场
|
||||
for k,value in ConfigPairs(ConfigList[curRankType]) do
|
||||
|
|
Loading…
Reference in New Issue