Fix AnimatedSprite doesn't emit animation_finished when changing playback direction

This commit is contained in:
Haoyu Qiu 2022-05-16 21:03:22 +08:00
parent d6edc6d18a
commit d5f5e96e11

View file

@ -388,6 +388,7 @@ void AnimatedSprite2D::play(const StringName &p_animation, const bool p_backward
}
}
is_over = false;
set_playing(true);
}