Merge pull request #6336 from sanikoyes/Pr-fix-inter-callback-delete
Tween: fix non-repeat interpolate_callback
This commit is contained in:
commit
34d3a4b471
|
@ -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 New Issue