diff --git a/components/GameBoard.vue b/components/GameBoard.vue index fa576f5..f83b1cf 100644 --- a/components/GameBoard.vue +++ b/components/GameBoard.vue @@ -2,7 +2,7 @@ import goStore from '~/netcode'; import type { Player } from '~/netcode/Player'; -const current_players = computed>(() => Array.from(goStore.players.values()).filter(p => p.team === goStore.current_game?.current_turn)) +const current_players = computed>(() => Array.from(goStore.current_game?.players ?? []).filter(p => p.team === goStore.current_game?.current_turn)) const discard_unwrapped = ref(false) diff --git a/components/PlayerSlot.vue b/components/PlayerSlot.vue index e8714fe..496461a 100644 --- a/components/PlayerSlot.vue +++ b/components/PlayerSlot.vue @@ -93,6 +93,7 @@ const prepare_champion = (target: Card) => run_effect(CardEffects.PREPARE, targe
+
READY