Fix AnimatedSprite doesn't emit animation_finished when changing playback direction

(cherry picked from commit d5f5e96e11)
This commit is contained in:
Haoyu Qiu 2022-05-16 21:03:22 +08:00 committed by Rémi Verschelde
parent d9acd21b46
commit 96b1b1991b

View File

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