Skip to content

Commit

Permalink
Compile fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jgranick committed Sep 1, 2017
1 parent efcf3dd commit 69ac6a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions openfl/display/MovieClip.hx
Original file line number Diff line number Diff line change
Expand Up @@ -643,8 +643,8 @@ class MovieClip extends Sprite #if openfl_dynamic implements Dynamic<DisplayObje

#else

var nextFrame = __currentFrame + (__lastFrameScriptEval == __currentFrame ? 1 : 0);
if (nextFrame > __frames.length) nextFrame = 1;
var nextFrame = __currentFrame + 1;
if (nextFrame > __totalFrames) nextFrame = 1;

#end

Expand Down

0 comments on commit 69ac6a2

Please sign in to comment.