mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-20 07:43:12 +09:00
Merge pull request #1067 from ILLISIS/fix-game-port-in-use
Replace a stored game port that another process holds
This commit is contained in:
1 parent
48e8c53776
commit
137211d55d
3 files changed
+100
-2
No files matched your search
@@ -678,6 +678,9 @@ end`.replace(/\r?\n/g, " ");
|
||||
// After changing the status this function is responsible for calling notifyExit if it throws.
|
||||
this.notifyStatus("starting");
|
||||
try {
|
||||
if (this.config.get("factorio.game_port") === null) {
|
||||
this.server.gamePort = await this._host.assignFreeGamePort(this.id);
|
||||
}
|
||||
const factorioVersions = await this.sendTo("controller", new lib.FactorioVersionsRequest());
|
||||
await this._loadStats();
|
||||
// Resolve a release channel target (e.g. "stable") to a concrete
|
||||
|
||||
Reference in new issue
Block a user