diff --git a/src/schedule/mod.rs b/src/schedule/mod.rs index e314df6d..ff623f93 100644 --- a/src/schedule/mod.rs +++ b/src/schedule/mod.rs @@ -248,24 +248,27 @@ fn run_physics_schedule(world: &mut World, mut is_first_run: Local) .delta() .mul_f64(physics_clock.relative_speed_f64()); - // Advance physics clock by timestep if not paused. + // Advance the physics clock by the timestep if not paused. if !is_paused { world.resource_mut::>().advance_by(timestep); - // Advance substep clock already so that systems running before the substepping loop have the right delta. + // Advance the substep clock already so that systems running + // before the substepping loop have the right delta. let SubstepCount(substeps) = *world.resource::(); let sub_delta = timestep.div_f64(substeps as f64); world.resource_mut::>().advance_by(sub_delta); } - // Set generic `Time` resource to `Time`. + // Set the generic `Time` resource to `Time`. *world.resource_mut::