diff --git a/ui/src/game/Game.svelte b/ui/src/game/Game.svelte index c8c9334..09e884d 100644 --- a/ui/src/game/Game.svelte +++ b/ui/src/game/Game.svelte @@ -290,6 +290,9 @@ if (cached) { view = cached.view; moves = cached.moves; + // Arm the vs_ai idle-hint countdown from the cached seconds-left so the 🔒 shows at once on a + // warm open (no wait for load()); the cached value is a snapshot, refreshed by load() below. + armHintGate(cached.view.game.vsAi ? (cached.view.hintUnlockLeftSeconds ?? 0) : 0); // Apply the cached draft synchronously so a warm/preloaded open paints the pending tiles // already on the board (no full-rack-then-jump). load() then refreshes in the background. applyDraft(cached.view, cached.draft ?? '');