【灵兽宝阁】倒计时显示刷新问题修复
parent
8a5d51e2a3
commit
d739896793
|
@ -181,6 +181,7 @@ function LingShouBaoGe:refreshBtnShow()
|
|||
redPot.gameObject:SetActive(isFree)
|
||||
icon.gameObject:SetActive(not isFree)
|
||||
num.gameObject:SetActive(not isFree)
|
||||
this.tip1.gameObject:SetActive(freeTime == 0)
|
||||
|
||||
local itemId=0
|
||||
local itemNum=0
|
||||
|
@ -271,7 +272,7 @@ function LingShouBaoGe:TimeCountDown()
|
|||
if timeDown < 1 then
|
||||
this.timer:Stop()
|
||||
this.timer = nil
|
||||
parent:ClosePanel()
|
||||
this:Refresh()
|
||||
return
|
||||
end
|
||||
timeDown = timeDown - 1
|
||||
|
|
Loading…
Reference in New Issue