mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2026-02-04 17:41:23 +01:00
fix migration check
This commit is contained in:
parent
ea89841363
commit
0d3c903dd4
1 changed files with 1 additions and 1 deletions
|
|
@ -1040,7 +1040,7 @@ export function resolveVersionConflicts(mapVersion) {
|
||||||
if (isOlderThan("1.111.0")) {
|
if (isOlderThan("1.111.0")) {
|
||||||
// v1.111.0 moved ice data from SVG to data model
|
// v1.111.0 moved ice data from SVG to data model
|
||||||
// Migrate old ice SVG elements to new pack.ice structure
|
// Migrate old ice SVG elements to new pack.ice structure
|
||||||
if (!pack.ice) {
|
if (!pack.ice.length) {
|
||||||
pack.ice = [];
|
pack.ice = [];
|
||||||
let iceId = 0;
|
let iceId = 0;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue