diff --git a/site/src/components/Game.vue b/site/src/components/Game.vue index 92a8a4e..81c75c1 100644 --- a/site/src/components/Game.vue +++ b/site/src/components/Game.vue @@ -120,6 +120,11 @@ function attack(left: boolean) { function useItem(evt: number) { const action = evt.toString() as "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7"; + if (notYet.value) { + storedAction.value = { action }; + return; + } + storedAction.value = null; emit('action', { action }); }