竞技场重新匹配无cd时添加文案
This commit is contained in:
parent
68567319a6
commit
0f3f3fa664
@ -227,13 +227,12 @@ function ArenaMatchUI:refreshCountdown()
|
||||
self.freeRematchCD = self.freeRematchCD - 1
|
||||
if self.freeRematchCD <= 0 then
|
||||
-- 冷却已好
|
||||
self.txFreeCountdown:setActive(false)
|
||||
self.txFreeCountdown:setText(I18N:getGlobalText(I18N.GlobalConst.STR_FREE))
|
||||
self.imgAd:setActive(false)
|
||||
|
||||
self:unscheduleGlobal(self.countdownSid)
|
||||
else
|
||||
-- 冷却未好
|
||||
self.txFreeCountdown:setActive(true)
|
||||
self.txFreeCountdown:setText(GFunc.getTimeStrWithHMS(self.freeRematchCD))
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user