From 8eb1c39cafb6178ca1e706749bb3b846ad65147b Mon Sep 17 00:00:00 2001 From: xiekaidong Date: Fri, 26 May 2023 17:13:41 +0800 Subject: [PATCH] =?UTF-8?q?bug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lua/app/ui/idle/component/idle_unit_comp.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/app/ui/idle/component/idle_unit_comp.lua b/lua/app/ui/idle/component/idle_unit_comp.lua index 1b7f016a..9b58e147 100644 --- a/lua/app/ui/idle/component/idle_unit_comp.lua +++ b/lua/app/ui/idle/component/idle_unit_comp.lua @@ -282,7 +282,7 @@ function IdleUnitComp:getAnimationKeyFrameTime(animationName, index) end local timeList = self.attackKeyFrameTimeMap[animationName] if timeList == nil then - local timeList = self.baseObject:getAnimationKeyFrameTimes(animationName) + timeList = self.baseObject:getAnimationKeyFrameTimes(animationName) if not timeList[1] then table.insert(timeList, 0.3) end