mirror of
https://github.com/godotengine/godot.git
synced 2025-03-19 23:53:32 +08:00
Tween: fix non-repeat interpolate_callback does not delete after call triggered
This commit is contained in:
parent
2f0e2a78b5
commit
cccea7e0b4
@ -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…
x
Reference in New Issue
Block a user