mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 09:41:24 +01:00
v 0.8.14b
This commit is contained in:
parent
edc3fc1826
commit
f81fd8a94c
8 changed files with 100 additions and 41 deletions
4
main.js
4
main.js
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue