diff --git a/ccmod.json b/ccmod.json index bbccd53..a95226f 100644 --- a/ccmod.json +++ b/ccmod.json @@ -1,6 +1,6 @@ { "id": "mw-rando", - "version": "0.7.4", + "version": "0.7.8", "title": "Multiworld randomizer", "description": "Client for CrossCode Archipelago Integration", "repository": "https://github.com/CodeTriangle/CCMultiworldRandomizer", diff --git a/data/in/master.json b/data/in/master.json index b124738..be11ddd 100644 --- a/data/in/master.json +++ b/data/in/master.json @@ -14,7 +14,7 @@ ], "baseId": 3235824000, "dataVersion": "0.5", - "randoVersion": [0, 7, 4], + "randoVersion": [0, 7, 8], "modes": [ "linear", "open" ], "defaultMode": "open", "dungeons": [ "cold-dng", "heat-dng", "shock-dng", "wave-dng", "tree-dng" ], diff --git a/src/patches/event.ts b/src/patches/event.ts index 5a2bbb5..f3a3584 100644 --- a/src/patches/event.ts +++ b/src/patches/event.ts @@ -63,7 +63,11 @@ export function patch(plugin: MwRandomizer) { this.goal = settings.goal; }, start() { - sc.multiworld.client.goal(); + try { + sc.multiworld.client.goal(); + } catch { + console.error("Failed to send goal because you are disconnected. Please reconnect ASAP."); + } } }); }