Fix AnimatedSprite doesn't emit animation_finished when changing playback direction

(cherry picked from commit d5f5e96e118d6904aaa071fcb8e8f08fa2d4eae5)
This commit is contained in:
Haoyu Qiu 2022-05-16 21:03:22 +08:00 committed by Relintai
parent 32037fc73c
commit 5ceff7f039

View File

@ -617,6 +617,7 @@ void AnimatedSprite::play(const StringName &p_animation, const bool p_backwards)
}
}
is_over = false;
set_playing(true);
}