Tween: fix non-repeat interpolate_callback does not delete after call triggered
(cherry picked from commit cccea7e0b4
)
This commit is contained in:
parent
5653ac41f9
commit
75f51aece9
1 changed files with 2 additions and 0 deletions
|
@ -619,6 +619,8 @@ void Tween::_tween_process(float p_delta) {
|
|||
};
|
||||
object->call(data.key, (const Variant **) arg, data.args, error);
|
||||
}
|
||||
if (!repeat)
|
||||
call_deferred("remove", object, data.key);
|
||||
}
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue