From b8d1820c99b3352f1db75075c58d101c038d4f81 Mon Sep 17 00:00:00 2001 From: jonastar <98033487+jonastar@users.noreply.github.com> Date: Sun, 1 Oct 2023 18:41:08 +0200 Subject: [PATCH] fix cleanup_system_ticks --- src/server.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server.rs b/src/server.rs index ea44fc67..e90b1ba4 100644 --- a/src/server.rs +++ b/src/server.rs @@ -406,7 +406,7 @@ impl ServerTicks { self.system_ticks.retain(|tick, _| { self.acked_ticks .values() - .all(|acked_tick| acked_tick > tick) + .any(|acked_tick| acked_tick <= tick) }) }