diff --git a/src/physics_worker.rs b/src/physics_worker.rs index 34375a8..e9a1ca9 100644 --- a/src/physics_worker.rs +++ b/src/physics_worker.rs @@ -112,10 +112,12 @@ impl MouseInterpolator<'_>{ &InputInstruction::Zoom(s)=>self.push(ins.time,PhysicsInputInstruction::SetZoom(s)), &InputInstruction::ResetAndSpawn(mode_id,stage_id)=>{ self.push(ins.time,PhysicsInputInstruction::Reset); + self.push(ins.time,PhysicsInputInstruction::SetSensitivity(self.user_settings.calculate_sensitivity())); self.push(ins.time,PhysicsInputInstruction::Spawn(mode_id,stage_id)); }, InputInstruction::ResetAndRestart=>{ self.push(ins.time,PhysicsInputInstruction::Reset); + self.push(ins.time,PhysicsInputInstruction::SetSensitivity(self.user_settings.calculate_sensitivity())); self.push(ins.time,PhysicsInputInstruction::Restart); }, InputInstruction::PracticeFly=>self.push(ins.time,PhysicsInputInstruction::PracticeFly),