diff --git a/crates/bevy_ecs/src/schedule/condition.rs b/crates/bevy_ecs/src/schedule/condition.rs index 1ecf637f6560c..225c54095f520 100644 --- a/crates/bevy_ecs/src/schedule/condition.rs +++ b/crates/bevy_ecs/src/schedule/condition.rs @@ -1,8 +1,8 @@ use std::borrow::Cow; -use crate::system::{BoxedSystem, CombinatorSystem, Combine, IntoSystem, System}; +use crate::system::{CombinatorSystem, Combine, IntoSystem, ReadOnlySystem, System}; -pub type BoxedCondition = BoxedSystem<(), bool>; +pub type BoxedCondition = Box>; /// A system that determines if one or more scheduled systems should run. ///