don't reconstruct MouseState struct with noop

This commit is contained in:
Quaternions 2025-01-13 23:22:01 -08:00
parent c6ff11dd3e
commit a8581a2a4f

View File

@ -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)
},