We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c0c5fae commit 55d9e7fCopy full SHA for 55d9e7f
crates/bevy_time/src/fixed_timestep.rs
@@ -61,7 +61,7 @@ impl TimestepAppExt for App {
61
panic(label)
62
}
63
64
- let runner = move |s: &mut S, w: &mut World| {
+ let runner = move |s: &mut dyn Stage, w: &mut World| {
65
let mut state = *w.resource::<FixedTimesteps>().get(label).unwrap();
66
67
// Core looping functionality.
@@ -85,7 +85,7 @@ impl TimestepAppExt for App {
85
step,
86
accumulator: 0.0,
87
};
88
- let runner = move |sched: &mut S, w: &mut World| {
+ let runner = move |sched: &mut dyn Stage, w: &mut World| {
89
90
let time = w.resource::<Time>();
91
state.accumulator += time.delta_seconds_f64();
0 commit comments