diff --git a/crates/bevy_ecs/src/schedule/executor/mod.rs b/crates/bevy_ecs/src/schedule/executor/mod.rs index 551ebd448a00d7..f94b25d6ff60e0 100644 --- a/crates/bevy_ecs/src/schedule/executor/mod.rs +++ b/crates/bevy_ecs/src/schedule/executor/mod.rs @@ -50,14 +50,16 @@ pub enum ExecutorKind { /// [`FixedBitSet`] is used as a smaller, more efficient substitute of `HashSet`. #[derive(Default)] pub struct SystemSchedule { + // Maps by system id (except `system_ids` field). + pub(super) system_ids: Vec, pub(super) systems: Vec, pub(super) system_conditions: Vec>, - pub(super) set_conditions: Vec>, - pub(super) system_ids: Vec, - pub(super) set_ids: Vec, pub(super) system_dependencies: Vec, pub(super) system_dependents: Vec>, pub(super) sets_with_conditions_of_systems: Vec, + // Maps by set id (except `set_ids` field). + pub(super) set_ids: Vec, + pub(super) set_conditions: Vec>, pub(super) systems_in_sets_with_conditions: Vec, }