1
0
mirror of https://github.com/exane/not-gwent-online synced 2024-12-23 21:03:14 +00:00

fix leader choose

This commit is contained in:
devfake 2015-06-25 21:25:39 +02:00
parent 8c3f7417c0
commit 05a7655980

View File

@ -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});
}
}