mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 09:41:24 +01:00
central store for heightmap configs
This commit is contained in:
parent
c2640bcada
commit
5a6b5b4c95
9 changed files with 145 additions and 190 deletions
|
|
@ -921,7 +921,7 @@ function editHeightmap(options) {
|
|||
body.setAttribute("data-changed", 0);
|
||||
body.innerHTML = "";
|
||||
|
||||
const templateString = HeightmapTemplates[template];
|
||||
const templateString = heightmapTemplates[template]?.template;
|
||||
if (!templateString) return;
|
||||
|
||||
const steps = templateString.split("\n");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue