From b620e2b099ebaf2638da86803655bf90435bb3ab Mon Sep 17 00:00:00 2001 From: Kumikaya <3411015214@qq.com> Date: Thu, 8 Aug 2024 00:21:49 +0800 Subject: [PATCH] Remove duplicate code (#482) --- src/schedule/mod.rs | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/schedule/mod.rs b/src/schedule/mod.rs index eefa9669..fce1648b 100644 --- a/src/schedule/mod.rs +++ b/src/schedule/mod.rs @@ -72,17 +72,6 @@ impl Plugin for PhysicsSchedulePlugin { .before(TransformSystem::TransformPropagate), ); - app.configure_sets( - schedule, - ( - PhysicsSet::Prepare, - PhysicsSet::StepSimulation, - PhysicsSet::Sync, - ) - .chain() - .before(TransformSystem::TransformPropagate), - ); - // Set up the physics schedule, the schedule that advances the physics simulation app.edit_schedule(PhysicsSchedule, |schedule| { schedule