Skip to content

Commit

Permalink
fix being unable to set schedule
Browse files Browse the repository at this point in the history
  • Loading branch information
laundmo committed Sep 26, 2024
1 parent 302b966 commit c7a1a45
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "bevy_spatial"
description = "A crate for tracking bevy entities in spatial indices."
documentation = "https://docs.rs/bevy_spatial"
version = "0.9.0"
version = "0.9.1"
license = "MIT OR Apache-2.0"
edition = "2021"
keywords = ["gamedev", "bevy", "kdtree", "knn", "nearest-neighbour"]
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ For more details on usage see [Examples](https://github.com/laundmo/bevy-spatial

| bevy | bevy_spatial |
| ---- | ------------ |
| 0.14 | 0.9.0 |
| 0.14 | 0.9.1 |
| 0.13 | 0.8.0 |
| 0.12 | 0.7.0 |
| 0.11 | 0.6.0 |
Expand Down
2 changes: 1 addition & 1 deletion src/plugin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ impl<Comp, Set: SystemSet, Schedule: ScheduleLabel + Clone> AutomaticUpdate<Comp
}
}

impl<Comp: TComp, Set: SystemSet + Copy> Plugin for AutomaticUpdate<Comp, Set> {
impl<Comp: TComp, Set: SystemSet + Copy, Schedule: ScheduleLabel + Clone> Plugin for AutomaticUpdate<Comp, Set, Schedule> {
fn build(&self, app: &mut App) {
app.insert_resource(TimestepLength(self.frequency, PhantomData::<Comp>))
.configure_sets(
Expand Down

0 comments on commit c7a1a45

Please sign in to comment.