X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=empires.js;h=5053b61581ec53ec6d308dabf4319c9dfdf644ec;hb=bb50292173f978457b4b64d6495db96cd581a4d6;hp=3072a121e68c98d0ac060218437c4e53860ae0a5;hpb=7b21a4eb7ed2d6d479842b01c35ba6931c3acdc7;p=empires-server diff --git a/empires.js b/empires.js index 3072a12..5053b61 100644 --- a/empires.js +++ b/empires.js @@ -32,8 +32,8 @@ function shuffle(a) { } class Empires extends Game { - constructor() { - super(); + constructor(id) { + super(id); this._spectators = []; this.next_spectator_id = 1; this._players = []; @@ -351,5 +351,3 @@ Empires.meta = { name: "Empires", identifier: "empires" }; - -exports.meta = Empires.meta;