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()
|
actions[#actions + 1] = cc.RemoveSelf:create()
|
||||||
end
|
end
|
||||||
|
|
||||||
if onComplete then
|
if args.onComplete then
|
||||||
actions[#actions + 1] = cc.CallFunc:create(onComplete)
|
actions[#actions + 1] = cc.CallFunc:create(args.onComplete)
|
||||||
end
|
end
|
||||||
|
|
||||||
local action
|
local action
|
||||||
|
|
Loading…
Reference in New Issue