diff --git a/strafe-client/src/physics.rs b/strafe-client/src/physics.rs index c3fdc60..ae55342 100644 --- a/strafe-client/src/physics.rs +++ b/strafe-client/src/physics.rs @@ -1142,8 +1142,8 @@ impl PhysicsContext{ .map_or(None,|(face,dt)|{ // this must be rounded to avoid the infinite loop when hitting the start zone let time=relative_body.time+dt.into(); - if time<=state.time{None}else{Some((time,face,dt))}}) - .map(|(time,face,dt)| + (state.time