v 0.8.14b

This commit is contained in:
Azgaar 2019-05-04 20:12:47 +03:00
parent edc3fc1826
commit f81fd8a94c
8 changed files with 100 additions and 41 deletions

View file

@ -1153,7 +1153,7 @@ function showStatistics() {
console.log(stats);
}
function regenerateMap() {
const regenerateMap = debounce(function() {
closeDialogs("#worldConfigurator");
customization = 0;
undraw();
@ -1161,7 +1161,7 @@ function regenerateMap() {
generate();
restoreLayers();
if ($("#worldConfigurator").is(":visible")) editWorld();
}
}, 500);
// Clear the map
function undraw() {