diff --git a/src/exploration.rs b/src/exploration.rs index cd7b925..c42c4db 100644 --- a/src/exploration.rs +++ b/src/exploration.rs @@ -81,7 +81,7 @@ fn exploration_type_change( features: Query<&ExplorationType>, ) -> Result<(), Box> where - S: bevy::ecs::component::Component + Clone + Debug + Eq + Hash, + S: 'static + Clone + Debug + Eq + Hash + Send + Sync, A: Hash + Eq + Clone + Send + Sync, { if let (Some(select_next_type), Some(select_prev_type)) = ( @@ -158,7 +158,7 @@ fn exploration_type_focus( features: Query<(Entity, &Coordinates, &ExplorationType)>, ) -> Result<(), Box> where - S: bevy::ecs::component::Component + Clone + Debug + Eq + Hash, + S: 'static + Clone + Debug + Eq + Hash + Send + Sync, A: Hash + Eq + Clone + Send + Sync, { if let (Some(explore_focus_next), Some(explore_focus_prev)) = ( @@ -249,7 +249,7 @@ fn exploration_focus( map: Query<&Map>, explorers: Query<(Entity, &Coordinates, Option<&Exploring>), With>, ) where - S: bevy::ecs::component::Component + Clone + Debug + Eq + Hash, + S: 'static + Clone + Debug + Eq + Hash + Send + Sync, A: Hash + Eq + Clone + Send + Sync, { if let ( @@ -301,7 +301,7 @@ fn navigate_to_explored, &RevealedTiles)>, explorers: Query<(Entity, &Exploring)>, ) where - S: bevy::ecs::component::Component + Clone + Debug + Eq + Hash, + S: 'static + Clone + Debug + Eq + Hash + Send + Sync, A: Hash + Eq + Clone + Send + Sync, { if let Some(navigate_to_explored) = config.action_navigate_to_explored.clone() { @@ -451,7 +451,7 @@ impl<'a, S, A, D> Default for ExplorationPlugin<'a, S, A, D> { impl<'a, S, A, D> Plugin for ExplorationPlugin<'a, S, A, D> where - S: bevy::ecs::component::Component + Clone + Debug + Eq + Hash, + S: Clone + Debug + Eq + Hash + Send + Sync, A: Hash + Eq + Clone + Send + Sync, D: 'static + Clone + Default + Send + Sync, 'a: 'static,