Update deck creation
This commit is contained in:
parent
279d89f308
commit
b2cfa87153
1 changed files with 2 additions and 2 deletions
|
|
@ -99,9 +99,9 @@ export class Game {
|
||||||
// Create the deck for the game
|
// Create the deck for the game
|
||||||
for (var i = 0; i <= DECK.total; i++) {
|
for (var i = 0; i <= DECK.total; i++) {
|
||||||
if (i <= DECK.fascist) {
|
if (i <= DECK.fascist) {
|
||||||
this.deck[i] = `fascist`;
|
this.deck.push(`fascist`);
|
||||||
} else {
|
} else {
|
||||||
this.deck[i] = `liberal`;
|
this.deck.push(`liberal`);
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue