diff --git a/crates/bevy_ecs/src/system/function_system.rs b/crates/bevy_ecs/src/system/function_system.rs index a3feca724b5ef..e3f8ca2439731 100644 --- a/crates/bevy_ecs/src/system/function_system.rs +++ b/crates/bevy_ecs/src/system/function_system.rs @@ -175,7 +175,7 @@ impl SystemMeta { /// Used internally to statically check if systems have conflicting access. #[inline] pub fn component_access_set_mut(&mut self) -> &mut FilteredAccessSet { - &mut self.component_access + &mut self.component_access_set } }