From 91d401aa8af18c1e8225e0d5b3c3fa3945cac010 Mon Sep 17 00:00:00 2001 From: masa-masa-0314 <348336850+masa-masa-0314@users.noreply.github.com> Date: Tue, 27 Oct 2026 23:09:16 +0800 Subject: [PATCH] Subtitles: a server's client ticks the overlay too Single player joins its integrated server as a client, so `Minecraft.tick` takes the `tick_remote` path and never reaches `tick_mobs`, where the subtitle overlay's tick had its only call. The overlay therefore never started listening to the sound engine: no sound notified it, and the closed captions stayed empty with "Show Subtitles" on or off. Call `tick_subtitles` from `tick_remote_level` beside `tick_hud`, as the local path does. Co-Authored-By: ZCode (Z.ai) --- crates/horizon-client/src/game/remote.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/crates/horizon-client/src/game/remote.rs b/crates/horizon-client/src/game/remote.rs index 3e79f1437..44fde5dec 100644 --- a/crates/horizon-client/src/game/remote.rs +++ b/crates/horizon-client/src/game/remote.rs @@ -3489,6 +3489,9 @@ impl Game<'_> { self.sleep_timer = super::tick_sleep_timer(self.sleep_timer, self.sleeping.is_some()); // Gui.tick: the titles, the action bar and the held item's name. self.tick_hud(); + // The subtitle overlay's share of the tick: the local path has it in + // `tick_mobs`, which a server's client never reaches. + self.tick_subtitles(); let entity_collisions = self.player_entity_collisions(); let pushed = self.remote_pushes(); let Some(player) = self.player.as_mut() else {