fix: mute video when entering loop

This commit is contained in:
2026-06-12 23:06:15 +08:00
parent a603833d7e
commit 0900bdf872

View File

@@ -209,6 +209,7 @@ export class Engine {
if (!this.loopActive && time >= scene.loopStart) {
this.loopActive = true
this.videoManager.setMuted(true)
const validChoices = this.getValidChoices(scene)
if (validChoices.length > 0) {
this.emit('choiceRequest', validChoices)