You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-17 14:11:06 +00:00
Fix error spam when tweened node leaves tree
(cherry picked from commit 45e4cb2bbf)
This commit is contained in:
@@ -332,7 +332,7 @@ bool SceneTreeTween::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();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user