Merge pull request #60797 from KoBeWi/bound_to_spam_errors

This commit is contained in:
Rémi Verschelde 2022-05-05 19:20:58 +02:00 committed by GitHub
commit c7419f108f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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();
}
}