From f88e1f1d3a7eb3e8fd8f333c1ab0de819aef4f33 Mon Sep 17 00:00:00 2001 From: Hornwitser Date: Tue, 31 Dec 2019 03:41:44 +0100 Subject: [PATCH] Remove dead code left over from 21d9fdf Remove compatConfig definition after RCON is established which was left over from 21d9fdf. --- client.js | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/client.js b/client.js index 26841776..91476886 100644 --- a/client.js +++ b/client.js @@ -215,18 +215,6 @@ class Instance extends link.Link{ this.server.on('rcon-ready', () => { console.log("Clusterio | RCON connection established"); - // Temporary measure for backwards compatibility - let compatConfig = { - id: this.config.id, - unique: this.config.id, - name: this.config.name, - - // FactorioServer.init may have generated a random port or password - // if they were null. - factorioPort: this.server.gamePort, - clientPort: this.server.rconPort, - clientPassword: this.server.rconPassword, - } }); await this.server.start(saveName);