Tween: fix non-repeat interpolate_callback does not delete after call triggered
This commit is contained in:
parent
2f0e2a78b5
commit
cccea7e0b4
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