逍遥bug修改

dev_chengFeng
yuanshuai 2020-10-19 23:24:07 +08:00 committed by gaoxin
parent 93db6c028a
commit aa9c366242
1 changed files with 3 additions and 2 deletions

View File

@ -174,7 +174,7 @@ end
--刷新界面事件入口按钮显示隐藏
function this.RefreshEventBtn()
this.UpdateYunyouVleShow()
this.UpdateYunYouVleShow()
if XiaoYaoManager.luckyluckyTurnTableTimes > 0 and (XiaoYaoManager.luckyluckyTurnTableRemainTime - PlayerManager.serverTime > 0) then
this.rouleBtn:SetActive(true)
else
@ -549,7 +549,8 @@ function this.ShowCountTime()
this.timer = Timer.New(function ()
local leftTime = AutoRecoverManager.GetRecoverTime(UpViewRechargeType.YunYouVle)
if leftTime<=0 then
this.UpdateYunyouVleShow()
BagManager.bagDatas[UpViewRechargeType.YunYouVle].num=BagManager.bagDatas[UpViewRechargeType.YunYouVle].num+1
this.UpdateYunYouVleShow()
end
if curValue>=maxValue then
-- 回复满了,在地图外面可以停止计时器