From d6e0e56f82fbc1b71ef66eb9c7a0e0d16cac9c32 Mon Sep 17 00:00:00 2001 From: Thierry Berger Date: Tue, 17 Sep 2024 11:44:01 +0200 Subject: [PATCH] =?UTF-8?q?remove=20dbg!=20which=20shouldn=C2=B4t=20be=20t?= =?UTF-8?q?here?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pipeline/events.rs | 1 - src/plugin/systems/multiple_rapier_contexts.rs | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/pipeline/events.rs b/src/pipeline/events.rs index 9ae050f6..8330ccf2 100644 --- a/src/pipeline/events.rs +++ b/src/pipeline/events.rs @@ -257,7 +257,6 @@ mod test { )); for i in 0..100 { - dbg!(i); app.update(); } return; diff --git a/src/plugin/systems/multiple_rapier_contexts.rs b/src/plugin/systems/multiple_rapier_contexts.rs index 062cf688..ec3dbb3a 100644 --- a/src/plugin/systems/multiple_rapier_contexts.rs +++ b/src/plugin/systems/multiple_rapier_contexts.rs @@ -75,7 +75,7 @@ pub fn on_change_world( }) .unwrap_or(false) { - remove_old_physics(dbg!(entity), &mut commands); + remove_old_physics(entity, &mut commands); bubble_down_world_change( &mut commands, entity,