mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-16 07:24:53 +09:00
Changed to using the real factorio port
This commit is contained in:
4 files changed
+9
-4
No files matched your search
@@ -260,7 +260,9 @@ class Instance extends libLink.Link {
|
||||
notifyStatus(status) {
|
||||
this._status = status;
|
||||
libLink.messages.instanceStatusChanged.send(this, {
|
||||
instance_id: this.id, status,
|
||||
instance_id: this.id,
|
||||
status,
|
||||
game_port: this.server ? this.server.gamePort : this.config.get("factorio.game_port") || null,
|
||||
});
|
||||
}
|
||||
|
||||
@@ -1297,6 +1299,7 @@ class Slave extends libLink.Link {
|
||||
libLink.messages.instanceStatusChanged.send(this, {
|
||||
instance_id,
|
||||
status: instanceConnection ? instanceConnection.status : "stopped",
|
||||
game_port: null,
|
||||
});
|
||||
|
||||
// save a copy of the instance config
|
||||
|
||||
Reference in new issue
Block a user