From 7d06aca17ae73c3d36bb67b64ab2bda0998c1f38 Mon Sep 17 00:00:00 2001 From: Alexander Krylov Date: Sat, 24 Oct 2026 23:29:55 +0300 Subject: [PATCH] Player: also stop sending the state packet while the game is paused Measured on the built branch: it does not stop the drowning from #1592 on its own. Kept because it is what forcing the level to stand still looks like, and the negative result is in the PR. Co-Authored-By: Hermes Agent (Nous Research) --- crates/horizon-client/src/game/remote.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/crates/horizon-client/src/game/remote.rs b/crates/horizon-client/src/game/remote.rs index e3eed3f55..b1e8dfc9d 100644 --- a/crates/horizon-client/src/game/remote.rs +++ b/crates/horizon-client/src/game/remote.rs @@ -3109,6 +3109,7 @@ 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); @@ -3243,7 +3244,9 @@ impl Game<'_> { data: 0, })); } - self.remote_send_state(input); + if !self.pause { + self.remote_send_state(input); + } Ok(()) }