Feat: add ReadyState to player list
release-tag / release-image (push) Successful in 1m2s

Mitigates #10
This commit is contained in:
2024-05-13 14:49:51 +02:00
parent dc80228668
commit 3f66249106
3 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
import goStore from '~/netcode';
import type { Player } from '~/netcode/Player';
const current_players = computed<Array<Player>>(() => Array.from(goStore.players.values()).filter(p => p.team === goStore.current_game?.current_turn))
const current_players = computed<Array<Player>>(() => Array.from(goStore.current_game?.players ?? []).filter(p => p.team === goStore.current_game?.current_turn))
const discard_unwrapped = ref<boolean>(false)
</script>