Skip to content

Commit 4686437

Browse files
add Or back to prelude (#1564)
The bevy ecs v2 rewrite seems to have removed the `Or` query filter from the prelude, which I assume was done on accident, since `With` and `Without` are still there.
1 parent 3a2a688 commit 4686437

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/bevy_ecs/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ pub mod prelude {
1616
pub use crate::{
1717
bundle::Bundle,
1818
entity::Entity,
19-
query::{Added, Changed, Flags, Mutated, QueryState, With, WithBundle, Without},
19+
query::{Added, Changed, Flags, Mutated, Or, QueryState, With, WithBundle, Without},
2020
schedule::{
2121
AmbiguitySetLabel, ExclusiveSystemDescriptorCoercion, ParallelSystemDescriptorCoercion,
2222
Schedule, Stage, StageLabel, State, StateStage, SystemLabel, SystemStage,

0 commit comments

Comments
 (0)