qinglong commit

dev_chengFeng
jiaoyangna 2020-08-26 20:04:36 +08:00
parent 03048116e4
commit 3c6a636d0d
1 changed files with 3 additions and 1 deletions

View File

@ -88,7 +88,6 @@ this.Closefunction = function()
if not ActivityGiftManager.GetActivityOpenStatus(ActivityTypeDef.TreasureOfSomeBody) then
PopupTipPanel.ShowTip(Language[12320])
parent:ClosePanel()
return
else
this.refresh(curType)
@ -227,6 +226,9 @@ function this:ShowTime(curType)
if timeDown < 1 then
self.timer:Stop()
self.timer = nil
if ActivityGiftManager.GetTaskEndTime(ActivityTypeDef.TreasureOfSomeBody) - GetTimeStamp() < 1 then
this.Closefunction()
end
return
end
timeDown = timeDown - 1