Skip to content

Commit

Permalink
add Or back to prelude (#1564)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jakobhellermann committed Mar 5, 2021
1 parent 3a2a688 commit 4686437
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bevy_ecs/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ pub mod prelude {
pub use crate::{
bundle::Bundle,
entity::Entity,
query::{Added, Changed, Flags, Mutated, QueryState, With, WithBundle, Without},
query::{Added, Changed, Flags, Mutated, Or, QueryState, With, WithBundle, Without},
schedule::{
AmbiguitySetLabel, ExclusiveSystemDescriptorCoercion, ParallelSystemDescriptorCoercion,
Schedule, Stage, StageLabel, State, StateStage, SystemLabel, SystemStage,
Expand Down

0 comments on commit 4686437

Please sign in to comment.