0
0
Fork 0

Fix the deck being set to the single card we're removing

This commit is contained in:
Oliver-Akins 2021-01-01 16:01:31 -07:00
parent 06aabcf74e
commit 8b2b360621

View file

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