f75030e7ee506b6ae3930f30fafe0799844b73e4
appendLines() only updated the DOM, never state.transcript, so any UI-originated line (player input, restart/undo/quit messages) vanished on page reload. Engine narration was unaffected because dispatch() already adds its lines to state.transcript. Fix: appendLines() now pushes into state.transcript (capped at TRANSCRIPT_CAP) and renders. Engine output uses renderAll() directly since dispatch already added its lines to state. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Description
Languages
TypeScript
92.3%
CSS
4.5%
Astro
3.1%