This commit is contained in:
@@ -25,9 +25,9 @@ const props = withDefaults(defineProps<Props>(), {
|
||||
discard_unwrapped: () => false,
|
||||
})
|
||||
|
||||
const isPlayerTurn = computed(() => props.player.team === goStore.game?.current_turn);
|
||||
const isPlayerTurn = computed(() => props.player.team === goStore.current_game?.current_turn);
|
||||
const isSelf = computed(() => props.player.uuid === goStore.self?.uuid);
|
||||
const isSelfTurn = computed(() => goStore.self?.team === goStore.game?.current_turn)
|
||||
const isSelfTurn = computed(() => goStore.self?.team === goStore.current_game?.current_turn)
|
||||
const isPlayerEnemy = computed(() => goStore.self?.team !== props.player.team)
|
||||
|
||||
function run_effect(
|
||||
|
||||
Reference in New Issue
Block a user