From 93febcaef9998827082678b20f52de74183439ab Mon Sep 17 00:00:00 2001 From: jenstandstad Date: Sat, 22 Aug 2026 21:59:41 +0200 Subject: [PATCH] Resume straight into the next node after finishing a level continueAfterGoal sent non-level next nodes to '/' (the splash), forcing a manual Resume; use the /?resume=1 fast-path so the debrief dialogue plays immediately, matching the phone-connect handoff. Co-Authored-By: Claude Opus 4.8 --- src/App.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.tsx b/src/App.tsx index a5650cf..28bd1be 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -458,7 +458,7 @@ export function App() { if (!response.ok) { setStatus('OBJECTIVE COMPLETE ยท STORY ADVANCE UNAVAILABLE'); return } const next = await response.json() as PlaythroughState if (next.node?.kind === 'level' && next.node.levelSlug) window.location.assign(`/level/${encodeURIComponent(next.node.levelSlug)}`) - else window.location.assign('/') + else window.location.assign('/?resume=1') // resume straight into the next node, not the splash } finally { setAdvancing(false) } }