灵脉bug修改

dev_chengFeng
yuanshuai 2023-02-20 16:57:18 +08:00
parent 91b13fb22c
commit 6ab148bdeb
1 changed files with 2 additions and 1 deletions

View File

@ -266,8 +266,9 @@ function LingMaiMiJingPanel:SetTime()
self.leftTime.text = string.format(text,TimeToHMS(time))
self.mytime.text = string.format("%s/%s分",math.floor(timeStayAtHere/60),allStayTime/60)
self.recordRed:SetActive(LingMaiMiJingManager.CheckRecord())
if time <= 0 or timeStayAtHere>allStayTime then
if time <= 0 or (self.data.startTime>0 and timeStayAtHere>allStayTime) then
self:OnShow()
self.data.startTime=0
end
end, 1, -1, true)
self.timer:Start()