fix jitter

This commit is contained in:
Corwin 2023-04-17 23:48:15 +01:00
parent a249404063
commit 8bef214797
No known key found for this signature in database

View file

@ -1966,6 +1966,8 @@ impl<'a> Game<'a> {
self.shake_time -= 1;
}
let this_frame_offset = this_frame_offset.floor().into();
self.input.update();
if let UpdateInstruction::CreateParticle(data, position) =
self.player