From 4eccd272377c5f3966c85115b120465e8c5a2945 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Fri, 2 Aug 2024 12:57:39 -0700 Subject: [PATCH] this is how --- src/physics_worker.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/physics_worker.rs b/src/physics_worker.rs index 7d1da1e..11117f2 100644 --- a/src/physics_worker.rs +++ b/src/physics_worker.rs @@ -137,6 +137,7 @@ impl MouseInterpolator{ } fn empty_queue(&mut self,physics:&mut crate::physics::PhysicsContext){ while let Some(instruction)=self.timeline.pop_front(){ + bot_worker.send(instruction.clone()).unwrap(); physics.run_input_instruction(instruction); } }