mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 01:41:22 +01:00
v1.651 - hotfix - unhide rivers layer
This commit is contained in:
parent
9604d4ae41
commit
fe63206b35
2 changed files with 8 additions and 1 deletions
|
|
@ -709,6 +709,8 @@ function parseLoadedData(data) {
|
|||
|
||||
if (version < 1.65) {
|
||||
// v 1.65 changed rivers data
|
||||
rivers.attr("style", null); // remove style to unhide layer
|
||||
|
||||
for (const river of pack.rivers) {
|
||||
const node = document.getElementById("river" + river.i);
|
||||
if (node && !river.cells) {
|
||||
|
|
@ -733,6 +735,11 @@ function parseLoadedData(data) {
|
|||
});
|
||||
}
|
||||
}
|
||||
|
||||
if (version < 1.651) {
|
||||
// remove style to unhide river layer
|
||||
rivers.attr("style", null);
|
||||
}
|
||||
})();
|
||||
|
||||
void (function checkDataIntegrity() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue