This commit is contained in:
xiekaidong 2023-04-19 09:32:11 +08:00
commit 0a7cb2a5b9

View File

@ -118,10 +118,10 @@ function BattleUI:setIsPauseHpProgress(value)
self:unscheduleGlobal(self.hpProgressYellowLeftSid) self:unscheduleGlobal(self.hpProgressYellowLeftSid)
end end
self.hpProgressYellowLeftSid = self:performWithDelayGlobal(function() self.hpProgressYellowLeftSid = self:performWithDelayGlobal(function()
self:playHpProgressYellowRightTween(timeLeft) self:playHpProgressYellowLeftTween(timeLeft)
end, delayTime) end, delayTime)
else else
self:playHpProgressYellowRightTween(timeLeft) self:playHpProgressYellowLeftTween(timeLeft)
end end
else else
if self.hpProgressYellowLeftTween then if self.hpProgressYellowLeftTween then
@ -137,10 +137,10 @@ function BattleUI:setIsPauseHpProgress(value)
self:unscheduleGlobal(self.hpProgressYellowRightSid) self:unscheduleGlobal(self.hpProgressYellowRightSid)
end end
self.hpProgressYellowRightSid = self:performWithDelayGlobal(function() self.hpProgressYellowRightSid = self:performWithDelayGlobal(function()
self:playHpProgressYellowRightTween(delayTime) self:playHpProgressYellowRightTween(timeRight)
end, delayTime) end, delayTime)
else else
self:playHpProgressYellowRightTween(delayTime) self:playHpProgressYellowRightTween(timeRight)
end end
else else
if self.hpProgressYellowRightTween then if self.hpProgressYellowRightTween then