diff --git a/src/body.rs b/src/body.rs index ff17114..1d55a95 100644 --- a/src/body.rs +++ b/src/body.rs @@ -22,7 +22,8 @@ impl PhysicsState { pub fn run(&mut self, time: TIMESTAMP, control_dir: glam::Vec3, controls: u32){ let target_tick = (time/10_000_000) as u32;//100t //the game code can run for 1 month before running out of ticks - for tick in self.tick+1..=target_tick { + while self.tick