diff --git a/server/src/objects/Deck.ts b/server/src/objects/Deck.ts index ee1429b..528439a 100644 --- a/server/src/objects/Deck.ts +++ b/server/src/objects/Deck.ts @@ -58,6 +58,9 @@ export class Deck { }; + /** + * Resets all of the cards in the deck and puts them back in the draw pile + */ public reset() { this._deck.push(...this._discard, ...this._unknown); this._discard = [];