fix: suppress videoEnd during QTE, clear QTE UI on game end and chapter restart
This commit is contained in:
@@ -73,6 +73,7 @@ export function useGameEngine(videoEls: () => [HTMLVideoElement | null, HTMLVide
|
||||
})
|
||||
|
||||
engine.on('gameEnd', () => {
|
||||
store.clearQTE()
|
||||
store.setGameEnded(true)
|
||||
engine.choiceSystem.stop()
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user