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.
This commit is contained in:
Jakob Hellermann 2021-03-05 18:33:20 +00:00
parent 3a2a68852c
commit 4686437d7a

View File

@ -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,