Initialize delayed cutscenes before evaluating result audio

This commit is contained in:
2026-10-15 00:16:48 +09:00
parent a533d6e221
commit 6a3a0ad4b9
2 changed files with 20 additions and 1 deletions
+1 -1
View File
@@ -179,8 +179,8 @@ export function createMatchView(container: HTMLElement, onAction: (action: Actio
if (state.reveal && !state.aborted && (!state.finished || state.finished.reason === 'hit')) renderer.play(state.reveal, Date.now() + offset);
else renderer.reset();
}
tick();
cutscene.update(state);
tick();
}, destroy() { submission++; clearInterval(interval); cutscene.destroy(); renderer.destroy(); sound.stop(); container.innerHTML = ''; current = undefined; },
};
}