don't reconstruct MouseState struct with noop
This commit is contained in:
parent
c6ff11dd3e
commit
a8581a2a4f
@ -215,7 +215,7 @@ impl MouseInterpolator{
|
||||
// and it's just here to say that the mouse isn't moving anyways.
|
||||
time:mouse_state.time,
|
||||
instruction:PhysicsInputInstruction::Mouse(
|
||||
MouseInstruction::SetNextMouse(MouseState{pos:mouse_state.pos,time:mouse_state.time})
|
||||
MouseInstruction::SetNextMouse(mouse_state)
|
||||
),
|
||||
}),BufferState::Unbuffered)
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user