From 82ca28b99dc3a3e9a2e5bf1deb09ab6553eb4793 Mon Sep 17 00:00:00 2001 From: Giulio Date: Thu, 24 Jun 2021 15:57:33 +0200 Subject: [PATCH 1/3] fix usage of ability --- frontend/src/components/Player.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/src/components/Player.vue b/frontend/src/components/Player.vue index 15c13df..219f125 100644 --- a/frontend/src/components/Player.vue +++ b/frontend/src/components/Player.vue @@ -21,10 +21,10 @@

{{desc}}

- - - - + + + +
{{$t('hand')}} From e5c629b5e5b61733e5e4a3b734475a783018fe81 Mon Sep 17 00:00:00 2001 From: Giulio Date: Thu, 24 Jun 2021 16:59:27 +0200 Subject: [PATCH 2/3] cant-play ability --- frontend/src/components/Player.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/src/components/Player.vue b/frontend/src/components/Player.vue index 219f125..ab8e213 100644 --- a/frontend/src/components/Player.vue +++ b/frontend/src/components/Player.vue @@ -21,10 +21,10 @@

{{desc}}

- - - - + + + +
{{$t('hand')}} From 843f8ee3634852f4ca61ba5df0d2b951dc9cb877 Mon Sep 17 00:00:00 2001 From: Alberto Xamin Date: Thu, 24 Jun 2021 17:39:51 +0200 Subject: [PATCH 3/3] fix sid ketchum --- frontend/src/components/Player.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/Player.vue b/frontend/src/components/Player.vue index ab8e213..eff5149 100644 --- a/frontend/src/components/Player.vue +++ b/frontend/src/components/Player.vue @@ -285,7 +285,7 @@ export default { sidScrap(c) { this.scrapHand.push(this.hand.indexOf(c)) if (this.scrapHand.length == 2) { - let x = [this.hand.indexOf(this.scrapHand[0]), this.hand.indexOf(this.scrapHand[1])].sort().reverse() + let x = [this.scrapHand[0], this.scrapHand[1]].sort().reverse() this.$socket.emit('scrap', x[0]) this.$socket.emit('scrap', x[1]) this.scrapHand = []