diff --git a/src/App.vue b/src/App.vue index 58e5449..fa41813 100644 --- a/src/App.vue +++ b/src/App.vue @@ -127,7 +127,7 @@ watch(() => store.currentScene?.id, async (newId) => { function onGlobalKeydown(e: KeyboardEvent) { const key = e.key - if (key === ' ' && store.pauseEnabled && started.value && !store.gameEnded) { + if (key === 'p' && !store.qteActive && store.pauseEnabled && started.value && !store.gameEnded) { const activeEl = document.activeElement if (!activeEl || activeEl.tagName === 'BODY' || activeEl === document.body) { e.preventDefault() @@ -289,7 +289,7 @@ init() />