From 7d9651bca073afb8c2c87345e2b1e5c21df00baf Mon Sep 17 00:00:00 2001 From: Joe Ardent Date: Wed, 27 Nov 2024 15:09:07 -0800 Subject: [PATCH] use run condition for pausing --- src/lib.rs | 11 ----------- src/main.rs | 15 +++++++++++---- 2 files changed, 11 insertions(+), 15 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 7e901c4..3e045ba 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,7 +1,6 @@ use argh::FromArgs; use bevy::{ prelude::*, - tasks::ParallelIterator, utils::{HashMap, HashSet}, }; use bevy_spatial::{kdtree::KDTree3, SpatialAccess}; @@ -80,12 +79,7 @@ pub fn update_vel( time: Res