【灵兽宝阁】倒计时显示刷新问题修复

dev_chengFeng
ZhangBiao 2020-11-13 16:10:26 +08:00
parent 8a5d51e2a3
commit d739896793
1 changed files with 2 additions and 1 deletions

View File

@ -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