From 0849283a9da0b3f3178a45c29d50ecec97d381c6 Mon Sep 17 00:00:00 2001 From: Ludovic Marie <136255825+ludovic111@users.noreply.github.com> Date: Sat, 24 Oct 2026 23:04:59 +0200 Subject: [PATCH] Pause: drop the state-packet gates, Game::tick doesn't run while paused The frame loop skips Game::tick while the game is paused, so these never fired; the server thread's paused pass is what moved the player on. Co-Authored-By: Claude Opus 5.5 --- crates/horizon-client/src/game/remote.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/crates/horizon-client/src/game/remote.rs b/crates/horizon-client/src/game/remote.rs index f8ffd6772..32cffa306 100644 --- a/crates/horizon-client/src/game/remote.rs +++ b/crates/horizon-client/src/game/remote.rs @@ -3109,7 +3109,6 @@ impl Game<'_> { // must continue, as well as moves into the unloaded area. if let Some(r) = self.remote.as_ref() && r.loaded_sent - && !self.pause { let input = r.last_input; self.remote_send_state(input); @@ -3241,9 +3240,7 @@ impl Game<'_> { data: 0, })); } - if !self.pause { - self.remote_send_state(input); - } + self.remote_send_state(input); Ok(()) }