From 753db70283e1239935bd5c47891dd9abc0b4d78e Mon Sep 17 00:00:00 2001 From: Azgaar Date: Fri, 9 Jan 2026 22:26:48 +0100 Subject: [PATCH] fix: restore MFCG link --- index.html | 2 +- modules/dynamic/auto-update.js | 2 +- modules/io/load.js | 2 +- versioning.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index 686c9994..ccb9ef5a 100644 --- a/index.html +++ b/index.html @@ -8563,7 +8563,7 @@ - + diff --git a/modules/dynamic/auto-update.js b/modules/dynamic/auto-update.js index 26cc7f1c..fed78cce 100644 --- a/modules/dynamic/auto-update.js +++ b/modules/dynamic/auto-update.js @@ -1033,7 +1033,7 @@ export function resolveVersionConflicts(mapVersion) { if (!burg.group) Burgs.defineGroup(burg, populations); if (burg.MFCG) { - burg.link = getBurgLink(burg); + burg.link = Burgs.getPreview(burg)?.link; delete burg.MFCG; } }); diff --git a/modules/io/load.js b/modules/io/load.js index d1a365f9..e831619e 100644 --- a/modules/io/load.js +++ b/modules/io/load.js @@ -472,7 +472,7 @@ async function parseLoadedData(data, mapVersion) { { // dynamically import and run auto-update script - const {resolveVersionConflicts} = await import("../dynamic/auto-update.js?v=1.109.2"); + const {resolveVersionConflicts} = await import("../dynamic/auto-update.js?v=1.109.3"); resolveVersionConflicts(mapVersion); } diff --git a/versioning.js b/versioning.js index 855c99bc..7a85e285 100644 --- a/versioning.js +++ b/versioning.js @@ -13,7 +13,7 @@ * Example: 1.102.2 -> Major version 1, Minor version 102, Patch version 2 */ -const VERSION = "1.109.2"; +const VERSION = "1.109.3"; if (parseMapVersion(VERSION) !== VERSION) alert("versioning.js: Invalid format or parsing function"); {