mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-22 03:51:23 +01:00
fixed previous problems
This commit is contained in:
parent
865fa6e5d1
commit
a13206eb4f
4 changed files with 24 additions and 11 deletions
9
main.js
9
main.js
|
|
@ -569,7 +569,7 @@ function generate() {
|
|||
BurgsAndStates.generate();
|
||||
BurgsAndStates.drawStateLabels();
|
||||
console.timeEnd("TOTAL");
|
||||
|
||||
|
||||
window.setTimeout(() => {
|
||||
showStatistics();
|
||||
console.groupEnd("Map " + seed);
|
||||
|
|
@ -1159,8 +1159,11 @@ const regenerateMap = debounce(function() {
|
|||
resetZoom(1000);
|
||||
generate();
|
||||
restoreLayers();
|
||||
if ($("#worldConfigurator").is(":visible")) editWorld();
|
||||
}, 500);
|
||||
if ($("#worldConfigurator").is(":visible")){
|
||||
editWorld();
|
||||
}
|
||||
saveBreadCrumb("newMap");
|
||||
}, 800);
|
||||
|
||||
// Clear the map
|
||||
function undraw() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue