mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-13 15:14:52 +09:00
Remove dead code left over from 21d9fdf
Remove compatConfig definition after RCON is established which was left
over from 21d9fdf.
This commit is contained in:
1 parent
c091dc341e
commit
f88e1f1d3a
1 file changed
-12
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user