Fixed an issue with the animation not working when player attacked.