fix tween onComplete not being called
This commit is contained in:
@@ -64,7 +64,9 @@
|
|||||||
(method :Void update [:Float elapsed]
|
(method :Void update [:Float elapsed]
|
||||||
(unless paused
|
(unless paused
|
||||||
(doFor tween tweens
|
(doFor tween tweens
|
||||||
(callPrivate tween "update" elapsed )))
|
(callPrivate tween "update" elapsed)
|
||||||
|
(when tween.finished
|
||||||
|
(callPrivate tween "finish"))))
|
||||||
(.update (cast (director.shortcutHandler) kiss_tools.FlxKeyShortcutHandler<Dynamic>)))
|
(.update (cast (director.shortcutHandler) kiss_tools.FlxKeyShortcutHandler<Dynamic>)))
|
||||||
|
|
||||||
(defAlias &ident flxDirector (cast director FlxDirector))
|
(defAlias &ident flxDirector (cast director FlxDirector))
|
||||||
|
Reference in New Issue
Block a user