diff --git a/server/src/objects/Game.ts b/server/src/objects/Game.ts index adcd8e9..a0e18c8 100644 --- a/server/src/objects/Game.ts +++ b/server/src/objects/Game.ts @@ -21,6 +21,7 @@ export class Game { this.id = Game.generateID(conf.game.code_length); this.host = host; this.ingame = false; + this.players = []; // Get the decks based on what type of data they are. switch (conf.game.cards.type) {