mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-16 17:31:24 +01:00
fix: #1136
This commit is contained in:
parent
e9113730b9
commit
18b9f604e9
4 changed files with 8 additions and 3 deletions
|
|
@ -8111,7 +8111,7 @@
|
|||
<script defer src="libs/rgbquant.min.js"></script>
|
||||
<script defer src="libs/jquery.ui.touch-punch.min.js"></script>
|
||||
<script defer src="modules/io/save.js?v=1.100.00"></script>
|
||||
<script defer src="modules/io/load.js?v=1.104.3"></script>
|
||||
<script defer src="modules/io/load.js?v=1.104.5"></script>
|
||||
<script defer src="modules/io/cloud.js?v=1.99.00"></script>
|
||||
<script defer src="modules/io/export.js?v=1.100.00"></script>
|
||||
|
||||
|
|
|
|||
|
|
@ -956,4 +956,9 @@ export function resolveVersionConflicts(mapVersion) {
|
|||
const featurePaths = defs.select("#featurePaths");
|
||||
if (!featurePaths.size()) defs.append("g").attr("id", "featurePaths");
|
||||
}
|
||||
|
||||
if (isOlderThan("1.105.0")) {
|
||||
// v1.104.0 introduced some bugs
|
||||
viewbox.select("#regions").style("display", null);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -459,7 +459,7 @@ async function parseLoadedData(data, mapVersion) {
|
|||
|
||||
{
|
||||
// dynamically import and run auto-update script
|
||||
const {resolveVersionConflicts} = await import("../dynamic/auto-update.js?v=1.104.0");
|
||||
const {resolveVersionConflicts} = await import("../dynamic/auto-update.js?v=1.104.5");
|
||||
resolveVersionConflicts(mapVersion);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
*
|
||||
* Example: 1.102.2 -> Major version 1, Minor version 102, Patch version 2
|
||||
*/
|
||||
const VERSION = "1.104.4";
|
||||
const VERSION = "1.104.5";
|
||||
if (parseMapVersion(VERSION) !== VERSION) alert("versioning.js: Invalid format or parsing function");
|
||||
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue