Skip to content

Commit ffa31ca

Browse files
Missed if statement
Co-authored-by: Chris Russell <[email protected]>
1 parent a241587 commit ffa31ca

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

crates/bevy_ecs/src/schedule/executor/multi_threaded.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -595,7 +595,9 @@ impl ExecutorState {
595595
}
596596
ValidationOutcome::Skipped => false,
597597
};
598-
self.skipped_systems.insert(system_index);
598+
if !valid_params {
599+
self.skipped_systems.insert(system_index);
600+
}
599601

600602
should_run &= valid_params;
601603
}

0 commit comments

Comments
 (0)