Skip to content

Commit b07208b

Browse files
committed
update fixed timestep
1 parent aa54393 commit b07208b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/bevy_time/src/fixed_timestep.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ impl TimestepAppExt for App {
6161
panic(label)
6262
}
6363

64-
let runner = move |s: &mut S, w: &mut World| {
64+
let runner = move |s: &mut dyn Stage, w: &mut World| {
6565
let mut state = *w.resource::<FixedTimesteps>().get(label).unwrap();
6666

6767
// Core looping functionality.
@@ -85,7 +85,7 @@ impl TimestepAppExt for App {
8585
step,
8686
accumulator: 0.0,
8787
};
88-
let runner = move |sched: &mut S, w: &mut World| {
88+
let runner = move |sched: &mut dyn Stage, w: &mut World| {
8989
// Core looping functionality.
9090
let time = w.resource::<Time>();
9191
state.accumulator += time.delta_seconds_f64();

0 commit comments

Comments
 (0)