From 33e0f5a8e62dcaf30b0d6cb3a58ebbab2f4402f5 Mon Sep 17 00:00:00 2001 From: Martin Indra Date: Fri, 22 Sep 2023 22:29:20 +0200 Subject: [PATCH] WIP --- crates/movement/src/syncing.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/movement/src/syncing.rs b/crates/movement/src/syncing.rs index 826b6a04..0fdbee75 100644 --- a/crates/movement/src/syncing.rs +++ b/crates/movement/src/syncing.rs @@ -13,8 +13,8 @@ use de_multiplayer::{NetEntities, NetRecvTransformEvent, ToPlayersEvent}; use crate::movement::MovementSet; -const MIN_SYNC_PERIOD: Duration = Duration::from_secs(2); -const SYNC_RANDOMIZATION_MS: u64 = 2_000; +const MIN_SYNC_PERIOD: Duration = Duration::from_millis(800); +const SYNC_RANDOMIZATION_MS: u64 = 200; pub(crate) struct SyncingPlugin;