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
1 changed files with 1 additions and 0 deletions

View File

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