fix for edgecase on visibility

This commit is contained in:
Alberto Xamin 2020-11-22 21:53:17 +01:00
parent ed52dcffe1
commit e2a9407dba
No known key found for this signature in database
GPG Key ID: 4F026F48309500A2

View File

@ -146,6 +146,9 @@ export default {
this.range = this.sight
else
this.range = 999
if (this.visiblePlayers.length == 0 && this.hand.length > this.lives) {
this.really_play_card(card, null)
}
this.card_against = card
} else {
this.really_play_card(card, null)