fix: sync adjusted QTE total to ring animation via qteTimer event
This commit is contained in:
@@ -98,7 +98,8 @@ export function useGameEngine(videoEls: () => [HTMLVideoElement | null, HTMLVide
|
||||
store.showQTE(qte)
|
||||
})
|
||||
|
||||
engine.on('qteTimer', ({ remaining }) => {
|
||||
engine.on('qteTimer', ({ remaining, total }) => {
|
||||
store.qteTotal.value = total
|
||||
store.updateQTE(remaining)
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user