diff options
author | Pedro J. Estébanez <pedrojrulez@gmail.com> | 2023-06-26 19:20:34 +0200 |
---|---|---|
committer | Pedro J. Estébanez <pedrojrulez@gmail.com> | 2023-06-26 19:20:34 +0200 |
commit | fc0e37bbe0f5b1fed6cdcb8cb5d607d36b634d2c (patch) | |
tree | 9c431d9af64dac195fa2c1a439b79e1b5bb63a75 /scene/main/scene_tree.cpp | |
parent | 2930fbeecd7eab4ccffd4aea82964f2b8fd25e84 (diff) | |
download | redot-engine-fc0e37bbe0f5b1fed6cdcb8cb5d607d36b634d2c.tar.gz |
Fix change of precedence in fixup
Diffstat (limited to 'scene/main/scene_tree.cpp')
-rw-r--r-- | scene/main/scene_tree.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/main/scene_tree.cpp b/scene/main/scene_tree.cpp index 77f3027143..481ed14707 100644 --- a/scene/main/scene_tree.cpp +++ b/scene/main/scene_tree.cpp @@ -1052,13 +1052,13 @@ void SceneTree::_process(bool p_physics) { if (p_physics) { if (!pg->physics_nodes.is_empty()) { process_valid = true; - } else if (pg == &default_process_group || ((pg->owner != nullptr && pg->owner->data.process_thread_messages.has_flag(Node::FLAG_PROCESS_THREAD_MESSAGES_PHYSICS)) && pg->call_queue.has_messages())) { + } else if ((pg == &default_process_group || (pg->owner != nullptr && pg->owner->data.process_thread_messages.has_flag(Node::FLAG_PROCESS_THREAD_MESSAGES_PHYSICS))) && pg->call_queue.has_messages()) { process_valid = true; } } else { if (!pg->nodes.is_empty()) { process_valid = true; - } else if (pg == &default_process_group || ((pg->owner != nullptr && pg->owner->data.process_thread_messages.has_flag(Node::FLAG_PROCESS_THREAD_MESSAGES)) && pg->call_queue.has_messages())) { + } else if ((pg == &default_process_group || (pg->owner != nullptr && pg->owner->data.process_thread_messages.has_flag(Node::FLAG_PROCESS_THREAD_MESSAGES))) && pg->call_queue.has_messages()) { process_valid = true; } } |