From f0bdfd94433fef8c81ee44e017a2ed1bd80bbe99 Mon Sep 17 00:00:00 2001 From: Branden J Brown Date: Sun, 4 Feb 2024 12:53:00 -0600 Subject: [PATCH] only do that for attacks --- site/src/components/Game.vue | 5 ----- 1 file changed, 5 deletions(-) diff --git a/site/src/components/Game.vue b/site/src/components/Game.vue index 81c75c1..92a8a4e 100644 --- a/site/src/components/Game.vue +++ b/site/src/components/Game.vue @@ -120,11 +120,6 @@ 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 }); }