mirror of
https://github.com/exane/not-gwent-online
synced 2024-11-23 19:36:53 +00:00
fix leader choose
This commit is contained in:
parent
8c3f7417c0
commit
05a7655980
@ -14,8 +14,8 @@ module.exports = {
|
||||
chooseLeader(card) {
|
||||
// todo: make own leader variable
|
||||
for(var item in this.deck) {
|
||||
if(this.deck[item].type == 3) {
|
||||
this.deck.$set(item, card);
|
||||
if(this.deck[item].card.type == 3) {
|
||||
this.deck.$set(item, {card});
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user