fixed animation bug

was really simple, just had to remove an incorrect line of code yay!