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); } }