mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 09:41:24 +01:00
v1.5.24 - smarter generation
This commit is contained in:
parent
e4e40fab49
commit
2f3f5d05fb
4 changed files with 17 additions and 24 deletions
|
|
@ -709,7 +709,7 @@ function applyStyleOnLoad() {
|
|||
stylePreset.value = preset;
|
||||
stylePreset.dataset.old = preset;
|
||||
} else {
|
||||
if (preset !== "styleDefault" && ERROR) console.error(`Style preset ${preset} is not available in localStorage, applying default style`);
|
||||
if (preset && preset !== "styleDefault" && ERROR) console.error(`Style preset ${preset} is not available in localStorage, applying default style`);
|
||||
stylePreset.value = "styleDefault";
|
||||
stylePreset.dataset.old = preset;
|
||||
applyDefaultStyle();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue