mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-19 07:33:12 +09:00
Rework save logic with regard to start instance
Ensure that notifyExit is called if errors occur during startInstance and createSave request, and rework startInstance save logic to create a new savegame if no save is present and allow specifying the save to load.
This commit is contained in:
1 parent
62e38199bd
commit
56ee1fe955
4 files changed
+64
-22
No files matched your search
@@ -298,7 +298,7 @@ messages.startInstance = new Request({
|
||||
type: 'start_instance',
|
||||
links: ['control-master', 'master-slave', 'slave-instance'],
|
||||
requestProperties: {
|
||||
"instance_id": { type: "integer" },
|
||||
"save": { type: ["string", "null"] },
|
||||
},
|
||||
forwardTo: 'instance',
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user