Skip to content

Commit

Permalink
Fix build.
Browse files Browse the repository at this point in the history
  • Loading branch information
Relintai committed Apr 21, 2024
1 parent e22df7c commit 789e640
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scene/main/node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -743,9 +743,9 @@ int Node::seen_by_get_count() {
void Node::_propagate_pause_change_notification(int p_notification) {
notification(p_notification);

for (int i = 0; i < data.children.size(); i++) {
if (data.children[i]->data.pause_mode == PAUSE_MODE_INHERIT) {
data.children[i]->_propagate_pause_change_notification(p_notification);
for (HashMap<StringName, Node *>::Element *E = data.children.front(); E; E = E->next) {
if (E->value()->data.pause_mode == PAUSE_MODE_INHERIT) {
E->value()->_propagate_pause_change_notification(p_notification);
}
}
}
Expand Down

0 comments on commit 789e640

Please sign in to comment.