mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 01:41:22 +01:00
style - fetch local json files
This commit is contained in:
parent
79c1e2abd9
commit
49a8a9f7c7
12 changed files with 3392 additions and 517 deletions
4
main.js
4
main.js
|
|
@ -226,8 +226,8 @@ void (function checkLoadParameters() {
|
|||
generateMapOnLoad();
|
||||
})();
|
||||
|
||||
function generateMapOnLoad() {
|
||||
applyStyleOnLoad(); // apply default or previously selected style
|
||||
async function generateMapOnLoad() {
|
||||
await applyStyleOnLoad(); // apply previously selected default or custom style
|
||||
generate(); // generate map
|
||||
focusOn(); // based on searchParams focus on point, cell or burg from MFCG
|
||||
applyPreset(); // apply saved layers preset
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue