mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-18 15:33:12 +09:00
allow FactorioServer.version to return undefined
This commit is contained in:
1 parent
8a57d9b5f6
commit
dc2f86dcf3
4 files changed
+9
-10
No files matched your search
@@ -453,8 +453,7 @@ rcon.print(game.table_to_json(players))`.replace(/\r?\n/g, " ");
|
||||
this.id,
|
||||
status,
|
||||
this.server.gamePort,
|
||||
// server.version can be null before server is initialized
|
||||
this.server.version ?? undefined,
|
||||
this.server.version,
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user