aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-09-21 20:38:27 +0200
committermetamuffin <metamuffin@disroot.org>2025-09-21 20:38:27 +0200
commit629b5651f9cb9bf4efc727ba8cea3f0b34a384e8 (patch)
tree3d7bedb1a5901c3250084c938cece2a36671adf0
parenta8dc30e49bdc1cb1befcebdcb247638ddec553ba (diff)
downloadhurrycurry-629b5651f9cb9bf4efc727ba8cea3f0b34a384e8.tar
hurrycurry-629b5651f9cb9bf4efc727ba8cea3f0b34a384e8.tar.bz2
hurrycurry-629b5651f9cb9bf4efc727ba8cea3f0b34a384e8.tar.zst
Skip "pause" server hint for start pause
-rw-r--r--server/src/state.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/state.rs b/server/src/state.rs
index 19c38fd2..2209fc5d 100644
--- a/server/src/state.rs
+++ b/server/src/state.rs
@@ -34,7 +34,7 @@ impl Server {
.push_back(PacketC::Pause { state: self.paused });
self.packet_out.push_back(PacketC::ServerHint {
position: None,
- message: if self.paused {
+ message: if self.paused && self.start_pause_timer <= 0. {
Some(trm!("s.state.paused"))
} else {
None