0
0
Fork 0

Default players to an empty array

This commit is contained in:
Oliver-Akins 2021-01-01 16:03:42 -07:00
parent 5ce7735d8f
commit 3a765ca1e8

View file

@ -21,6 +21,7 @@ export class Game {
this.id = Game.generateID(conf.game.code_length); this.id = Game.generateID(conf.game.code_length);
this.host = host; this.host = host;
this.ingame = false; this.ingame = false;
this.players = [];
// Get the decks based on what type of data they are. // Get the decks based on what type of data they are.
switch (conf.game.cards.type) { switch (conf.game.cards.type) {