diff --git a/strafe-client/src/mouse_interpolator.rs b/strafe-client/src/mouse_interpolator.rs index 2e57fe7..8b26fe1 100644 --- a/strafe-client/src/mouse_interpolator.rs +++ b/strafe-client/src/mouse_interpolator.rs @@ -110,7 +110,7 @@ impl MouseInterpolator{ // but the timer is not accessible from this scope // and it's just here to say that the mouse isn't moving anyways. // I think this is a divide by zero bug, two identical mouse_states will occupy the interpolation state - time, + time:mouse_state.time, instruction:MouseInstruction::SetNextMouse(MouseState{pos:mouse_state.pos,time}), }); },