mirror of
https://github.com/godotengine/godot.git
synced 2025-02-16 15:50:45 +00:00
Fix error spam when tweened node leaves tree
This commit is contained in:
parent
88a440826a
commit
45e4cb2bbf
@ -335,7 +335,7 @@ bool Tween::can_process(bool p_tree_paused) const {
|
||||
if (is_bound && pause_mode == TWEEN_PAUSE_BOUND) {
|
||||
Node *bound_node = get_bound_node();
|
||||
if (bound_node) {
|
||||
return bound_node->can_process();
|
||||
return bound_node->is_inside_tree() && bound_node->can_process();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user