Merge pull request #3539 from pixelpicosean/fix_animation_complete_event

Fix animationcomplete event name typo
This commit is contained in:
Richard Davey 2018-04-11 01:16:33 +01:00 committed by GitHub
commit f084178929
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -700,7 +700,7 @@ var Animation = new Class({
var gameObject = this.parent;
gameObject.emit('animtioncomplete', this.currentAnim, this.currentFrame);
gameObject.emit('animationcomplete', this.currentAnim, this.currentFrame);
return gameObject;
},