mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-17 07:30:41 +09:00
Use detected Factorio version
Remove Factorio_version from the config file and use the detected version of Factorio instead.
This commit is contained in:
1 parent
27fc68da0f
commit
fcae3ef0c1
5 files changed
+20
-7
No files matched your search
@@ -443,6 +443,13 @@ class FactorioServer extends events.EventEmitter {
|
||||
this._state = "init";
|
||||
}
|
||||
|
||||
/**
|
||||
* The version of Factorio that was detected
|
||||
*/
|
||||
get version() {
|
||||
return this._version;
|
||||
}
|
||||
|
||||
_attachStdio() {
|
||||
this._server.stdout.on('data', chunk => { this._stdout.data(chunk); });
|
||||
this._server.stdout.on('close', () => { this._stdout.end(); });
|
||||
|
||||
Reference in new issue
Block a user