bug修复
This commit is contained in:
parent
cff917cac8
commit
8eb1c39caf
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user