diff --git a/frontend/src/components/Player.vue b/frontend/src/components/Player.vue index a7bc925..3ddced0 100644 --- a/frontend/src/components/Player.vue +++ b/frontend/src/components/Player.vue @@ -47,7 +47,7 @@ - + @@ -337,9 +337,9 @@ export default { this.card_with = card } else { let card_data = { - index: this.hand.indexOf(this.card_with), + index: this.handComputed.indexOf(this.card_with), against: null, - with: this.hand.indexOf(card), + with: this.handComputed.indexOf(card), } this.card_with = null this.$socket.emit('play_card', card_data)