Add Instance.id shortcut

Add shortcut for instance.config.get("instance.id") similar to the
already existing shortcut for its name.
This commit is contained in:
Hornwitser committed 2021-02-19 14:57:27 +01:00
1 parent 1de8b76303
commit 7e9f1562e4
5 files changed
+24 -18

No files matched your search

+1
View File
@@ -103,6 +103,7 @@ class MockInstance extends libLink.Link {
this.logger = new MockLogger();
this.server = new MockServer();
this.name = "test";
this.id = 7357;
this.mockConfigEntries = new Map([
["instance.id", 7357],
["factorio.enable_save_patching", true],