Mitigates #10
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user