Fixed AnimationPlayer.get_autoplay() returning empty string

This commit is contained in:
Rasmus Ketelsen 2017-11-02 08:42:43 +01:00
parent 4b477263a7
commit 02382c4fd8

View file

@ -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;