this is how
This commit is contained in:
parent
a54836a9cb
commit
4eccd27237
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user