mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-22 12:01:23 +01:00
dropbox - import changes from alpha
This commit is contained in:
parent
eecdff1968
commit
68fade20c3
7 changed files with 4547 additions and 0 deletions
10
main.js
10
main.js
|
|
@ -300,6 +300,7 @@ async function checkLoadParameters() {
|
|||
});
|
||||
});
|
||||
|
||||
<<<<<<< HEAD
|
||||
if (onloadMap.value === "saved") {
|
||||
try {
|
||||
await loadLastMap();
|
||||
|
|
@ -317,6 +318,15 @@ async function checkLoadParameters() {
|
|||
async function generateMapOnLoad() {
|
||||
await applyStyleOnLoad(); // apply previously selected default or custom style
|
||||
await generate(); // generate map
|
||||
=======
|
||||
WARN && console.warn('Generate random map');
|
||||
generateMapOnLoad();
|
||||
})();
|
||||
|
||||
function generateMapOnLoad() {
|
||||
applyStyleOnLoad(); // apply default of previously selected style
|
||||
generate(); // generate map
|
||||
>>>>>>> f557701e (dropbox - import changes from alpha)
|
||||
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