make it safe for nextFrameActions to queue for the next next frame
This commit is contained in:
@@ -347,9 +347,10 @@
|
|||||||
(when ccToCall
|
(when ccToCall
|
||||||
(ccToCall))
|
(ccToCall))
|
||||||
|
|
||||||
(doFor action nextFrameActions
|
(let [thisFrameActions (nextFrameActions.copy)]
|
||||||
(action))
|
(set nextFrameActions [])
|
||||||
(set nextFrameActions [])
|
(doFor action thisFrameActions
|
||||||
|
(action)))
|
||||||
|
|
||||||
(flxDirector.update)
|
(flxDirector.update)
|
||||||
(unless paused
|
(unless paused
|
||||||
|
Reference in New Issue
Block a user