diff --git a/common/src/state.rs b/common/src/state.rs index 974c841258..56d476b4f4 100644 --- a/common/src/state.rs +++ b/common/src/state.rs @@ -38,7 +38,7 @@ pub struct DeltaTime(pub f32); /// too fast, we'd skip important physics events like collisions. This constant determines the /// upper limit. If delta time exceeds this value, the game's physics will begin to produce time /// lag. Ideally, we'd avoid such a situation. -const MAX_DELTA_TIME: f32 = 0.15; +const MAX_DELTA_TIME: f32 = 0.03; pub struct Changes { pub new_chunks: HashSet>, @@ -188,6 +188,11 @@ impl State { self.ecs.read_resource::