X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=empires.js;fp=empires.js;h=cb7571d67ef3ff81934593cf76c8b5c407c65ce6;hb=48026578b36151fdb09186f4fd5166db6c67c09a;hp=3072a121e68c98d0ac060218437c4e53860ae0a5;hpb=7b21a4eb7ed2d6d479842b01c35ba6931c3acdc7;p=empires-server diff --git a/empires.js b/empires.js index 3072a12..cb7571d 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 = [];