summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-05-16 15:55:42 +0200
committerGitHub <noreply@github.com>2022-05-16 15:55:42 +0200
commitfda397b5b24b26b94047a9d8dd6795a8577503b9 (patch)
treedbfc514803767b772e1b2fb1760d7117a1d5e83a
parente3a9a03a8df4543fae4fd000ba307664c6d0812f (diff)
parentd5f5e96e118d6904aaa071fcb8e8f08fa2d4eae5 (diff)
Merge pull request #61085 from timothyqiu/as-over
-rw-r--r--scene/2d/animated_sprite_2d.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/2d/animated_sprite_2d.cpp b/scene/2d/animated_sprite_2d.cpp
index 4734f97e23..b33c2f43d4 100644
--- a/scene/2d/animated_sprite_2d.cpp
+++ b/scene/2d/animated_sprite_2d.cpp
@@ -388,6 +388,7 @@ void AnimatedSprite2D::play(const StringName &p_animation, const bool p_backward
}
}
+ is_over = false;
set_playing(true);
}