mirror of https://github.com/axmolengine/axmol.git
Merge pull request #10461 from ntotani/fix-lua-framework-v3
fix SpriteEx
This commit is contained in:
commit
f44ea6468e
|
@ -45,8 +45,8 @@ function Sprite:playAnimationOnce(animation, args)
|
|||
actions[#actions + 1] = cc.RemoveSelf:create()
|
||||
end
|
||||
|
||||
if onComplete then
|
||||
actions[#actions + 1] = cc.CallFunc:create(onComplete)
|
||||
if args.onComplete then
|
||||
actions[#actions + 1] = cc.CallFunc:create(args.onComplete)
|
||||
end
|
||||
|
||||
local action
|
||||
|
|
Loading…
Reference in New Issue