From 01fcbbb09b07705b86c0ff928ab57b997c66e502 Mon Sep 17 00:00:00 2001 From: legonzaur Date: Thu, 16 May 2024 23:10:39 +0200 Subject: [PATCH 1/3] Fix front sending Play card even when clicking on discard button --- components/SelfView.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/SelfView.vue b/components/SelfView.vue index 781f845..630ecbd 100644 --- a/components/SelfView.vue +++ b/components/SelfView.vue @@ -10,7 +10,7 @@ const isTurn = computed(() => goStore.self?.team == goStore.current_game?.curren
+ @click.stop="discard(c)">DISCARD
From b0c00eb5da93a272d70f8e0f796bf36524bc62c6 Mon Sep 17 00:00:00 2001 From: legonzaur Date: Thu, 16 May 2024 23:19:43 +0200 Subject: [PATCH 2/3] Ugly Workaround: remove turn.findEffect --- components/MarketCards.vue | 24 +++++++++-------- components/PlayerSlot.vue | 54 ++++++++++++++++++++++---------------- netcode/Turn.ts | 6 ----- 3 files changed, 44 insertions(+), 40 deletions(-) diff --git a/components/MarketCards.vue b/components/MarketCards.vue index 87b3bf3..ea9278c 100644 --- a/components/MarketCards.vue +++ b/components/MarketCards.vue @@ -1,6 +1,6 @@