this is how

This commit is contained in:
Quaternions 2024-08-02 12:57:39 -07:00
parent a54836a9cb
commit 4eccd27237

View File

@ -137,6 +137,7 @@ impl MouseInterpolator{
} }
fn empty_queue(&mut self,physics:&mut crate::physics::PhysicsContext){ fn empty_queue(&mut self,physics:&mut crate::physics::PhysicsContext){
while let Some(instruction)=self.timeline.pop_front(){ while let Some(instruction)=self.timeline.pop_front(){
bot_worker.send(instruction.clone()).unwrap();
physics.run_input_instruction(instruction); physics.run_input_instruction(instruction);
} }
} }