mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2025-04-21 19:31:52 -04:00
Merge ef7c9afd14
into d31ef12363
This commit is contained in:
commit
9e549cfede
1 changed files with 2 additions and 0 deletions
|
@ -66,6 +66,8 @@ class FlxAtlasSprite extends FlxAnimate
|
|||
throw 'FlxAtlasSprite not initialized properly. Are you sure the path (${path}) exists?';
|
||||
}
|
||||
|
||||
onAnimationComplete.add(cleanupAnimation);
|
||||
|
||||
// This defaults the sprite to play the first animation in the atlas,
|
||||
// then pauses it. This ensures symbols are intialized properly.
|
||||
this.anim.play('');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue