diff --git a/lua/app/ui/battle/battle_ui.lua b/lua/app/ui/battle/battle_ui.lua index 5858cf63..fa42d686 100644 --- a/lua/app/ui/battle/battle_ui.lua +++ b/lua/app/ui/battle/battle_ui.lua @@ -118,10 +118,10 @@ function BattleUI:setIsPauseHpProgress(value) self:unscheduleGlobal(self.hpProgressYellowLeftSid) end self.hpProgressYellowLeftSid = self:performWithDelayGlobal(function() - self:playHpProgressYellowRightTween(timeLeft) + self:playHpProgressYellowLeftTween(timeLeft) end, delayTime) else - self:playHpProgressYellowRightTween(timeLeft) + self:playHpProgressYellowLeftTween(timeLeft) end else if self.hpProgressYellowLeftTween then @@ -137,10 +137,10 @@ function BattleUI:setIsPauseHpProgress(value) self:unscheduleGlobal(self.hpProgressYellowRightSid) end self.hpProgressYellowRightSid = self:performWithDelayGlobal(function() - self:playHpProgressYellowRightTween(delayTime) + self:playHpProgressYellowRightTween(timeRight) end, delayTime) else - self:playHpProgressYellowRightTween(delayTime) + self:playHpProgressYellowRightTween(timeRight) end else if self.hpProgressYellowRightTween then