diff options
author | Rasmus Ketelsen <rke@gamblify.com> | 2017-11-02 08:42:43 +0100 |
---|---|---|
committer | Rasmus Ketelsen <rke@gamblify.com> | 2017-11-02 08:42:43 +0100 |
commit | 02382c4fd8c843a685408eea010e356113858298 (patch) | |
tree | 822c3dfb803743dffa8138506359dcc931bef44e | |
parent | 4b477263a7c72c50a90e6b83cabfe8a04bfce9a2 (diff) |
Fixed AnimationPlayer.get_autoplay() returning empty string
-rw-r--r-- | scene/animation/animation_player.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/scene/animation/animation_player.cpp b/scene/animation/animation_player.cpp index 0f631c69b6..80b7748078 100644 --- a/scene/animation/animation_player.cpp +++ b/scene/animation/animation_player.cpp @@ -202,7 +202,6 @@ void AnimationPlayer::_notification(int p_what) { if (!Engine::get_singleton()->is_editor_hint() && animation_set.has(autoplay)) { play(autoplay); - set_autoplay(""); //this line is the fix for autoplay issues with animatio _animation_process(0); } } break; |