Fix the deck being set to the single card we're removing
This commit is contained in:
parent
06aabcf74e
commit
8b2b360621
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ export class Deck<T> {
|
|||
|
||||
// Move it from the arrays
|
||||
cards.push(card);
|
||||
this._deck = this._deck.splice(index, 1);
|
||||
this._deck.splice(index, 1);
|
||||
this._unknown.push(card);
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue