Skip to content

Commit 438fe3c

Browse files
committed
No Update unless playing
1 parent 94298ef commit 438fe3c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/gameobjects/components/AnimationState.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1555,7 +1555,7 @@ var AnimationState = new Class({
15551555
}
15561556
}
15571557

1558-
if (this.isPlaying)
1558+
if (this.isPlaying && this.hasStarted)
15591559
{
15601560
this.emitEvents(Events.ANIMATION_UPDATE, Events.SPRITE_ANIMATION_KEY_UPDATE, Events.SPRITE_ANIMATION_UPDATE);
15611561

0 commit comments

Comments
 (0)