diff --git a/crates/bevy_core/src/time/fixed_timestep.rs b/crates/bevy_core/src/time/fixed_timestep.rs index bd3384d4ca..fa39ced311 100644 --- a/crates/bevy_core/src/time/fixed_timestep.rs +++ b/crates/bevy_core/src/time/fixed_timestep.rs @@ -4,7 +4,7 @@ use bevy_ecs::{ component::ComponentId, query::Access, schedule::ShouldRun, - system::{ConfigurableSystem, IntoSystem, Local, Res, ResMut, System}, + system::{IntoSystem, Res, ResMut, System}, world::World, }; use bevy_utils::HashMap; @@ -79,7 +79,9 @@ impl Default for FixedTimestep { fn default() -> Self { Self { state: LocalFixedTimestepState::default(), - internal_system: Box::new(IntoSystem::into_system(Self::prepare_system)), + internal_system: Box::new(IntoSystem::into_system(Self::prepare_system( + Default::default(), + ))), } } } @@ -116,18 +118,18 @@ impl FixedTimestep { } fn prepare_system( - mut state: Local, - time: Res