fix: suppress videoEnd during QTE, clear QTE UI on game end and chapter restart
This commit is contained in:
@@ -125,7 +125,7 @@ export class Engine {
|
||||
)
|
||||
|
||||
this.videoManager.onEnd(() => {
|
||||
if (!this.qteResolved) {
|
||||
if (!this.qteTriggered || this.qteResolved) {
|
||||
this.emit('videoEnd', scene)
|
||||
this.onVideoEnd(scene)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user