diff --git a/components/MarketCards.vue b/components/MarketCards.vue index 924cf28..3f868bf 100644 --- a/components/MarketCards.vue +++ b/components/MarketCards.vue @@ -14,18 +14,16 @@ const isTurn = computed(() => goStore.self && goStore.game?.started && (goStore. @@ -37,12 +35,12 @@ const isTurn = computed(() => goStore.self && goStore.game?.started && (goStore. BUY @@ -62,6 +60,5 @@ const isTurn = computed(() => goStore.self && goStore.game?.started && (goStore. } .separator { - width: 50px; -} + width: 50px;} \ No newline at end of file diff --git a/components/PlayerSlot.vue b/components/PlayerSlot.vue index 97cacfd..de4d703 100644 --- a/components/PlayerSlot.vue +++ b/components/PlayerSlot.vue @@ -34,7 +34,7 @@ function run_effect( effect_type: CardEffects, target: Player | Card ) { - const effect = goStore.self?.turn.find_effect(effect_type).value; + const effect = goStore.self?.turn.find_effect(effect_type); if (!effect) { return; } @@ -65,15 +65,14 @@ const restack_discarded_card = (target: Card) => run_effect(CardEffects.RESTACK_ diff --git a/components/PlayerStats.vue b/components/PlayerStats.vue index 031ab4d..fdc13a1 100644 --- a/components/PlayerStats.vue +++ b/components/PlayerStats.vue @@ -13,7 +13,7 @@ const props = defineProps()