mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-13 15:14:52 +09:00
Add enable_save_patching to mock instance config
Handle the factorio.enable_save_patching config option in the mock
instance as these are queried by instances after 9458155.
This commit is contained in:
1 parent
999386c088
commit
781e40428f
1 file changed
+1
@@ -68,6 +68,7 @@ class MockInstance extends link.Link {
|
||||
this.config = {
|
||||
get: (name) => {
|
||||
if (name === "instance.id") { return 7357; }
|
||||
if (name === "factorio.enable_save_patching") { return true; }
|
||||
throw Error("Not implemented");
|
||||
},
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user