mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-22 12:01:23 +01:00
generation flow for heightmap select
This commit is contained in:
parent
bc3c5d2b86
commit
e1cbca2546
1 changed files with 1 additions and 2 deletions
|
|
@ -287,7 +287,6 @@ function restoreSeed(id) {
|
|||
byId("templateInput").value = template;
|
||||
|
||||
if (locked("template")) unlock("template");
|
||||
|
||||
regeneratePrompt();
|
||||
}
|
||||
|
||||
|
|
@ -665,7 +664,7 @@ function restoreDefaultOptions() {
|
|||
// Sticked menu Options listeners
|
||||
document.getElementById("sticked").addEventListener("click", function (event) {
|
||||
const id = event.target.id;
|
||||
if (id === "newMapButton") regeneratePrompt("sticky button");
|
||||
if (id === "newMapButton") regeneratePrompt();
|
||||
else if (id === "saveButton") showSavePane();
|
||||
else if (id === "exportButton") showExportPane();
|
||||
else if (id === "loadButton") showLoadPane();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue