From b2cfa871533049748088f0c19dc01db09fed9ef0 Mon Sep 17 00:00:00 2001 From: Oliver-Akins Date: Thu, 22 Oct 2020 23:33:38 -0600 Subject: [PATCH] Update deck creation --- src/utils/Game.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/Game.ts b/src/utils/Game.ts index 4cd4878..190d1f3 100644 --- a/src/utils/Game.ts +++ b/src/utils/Game.ts @@ -99,9 +99,9 @@ export class Game { // Create the deck for the game for (var i = 0; i <= DECK.total; i++) { if (i <= DECK.fascist) { - this.deck[i] = `fascist`; + this.deck.push(`fascist`); } else { - this.deck[i] = `liberal`; + this.deck.push(`liberal`); }; }; };