From e1cbca25460ad27e2063495f500bfc04668eaa66 Mon Sep 17 00:00:00 2001 From: Azgaar Date: Thu, 26 May 2022 00:19:32 +0300 Subject: [PATCH] generation flow for heightmap select --- modules/ui/options.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/ui/options.js b/modules/ui/options.js index 622880d8..1cf7e3b0 100644 --- a/modules/ui/options.js +++ b/modules/ui/options.js @@ -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();