mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 09:41:24 +01:00
feat(religions editor): sync religion center circle style with culture one
This commit is contained in:
parent
47ef8d938b
commit
13e247ed9c
2 changed files with 10 additions and 13 deletions
3
main.js
3
main.js
|
|
@ -684,7 +684,6 @@ async function generate(options) {
|
|||
const timeStart = performance.now();
|
||||
const {seed: precreatedSeed, graph: precreatedGraph} = options || {};
|
||||
|
||||
pack = {};
|
||||
invokeActiveZooming();
|
||||
setSeed(precreatedSeed);
|
||||
INFO && console.group("Generated Map " + seed);
|
||||
|
|
@ -695,7 +694,7 @@ async function generate(options) {
|
|||
if (shouldRegenerateGrid(grid, precreatedSeed)) grid = precreatedGraph || generateGrid();
|
||||
else delete grid.cells.h;
|
||||
grid.cells.h = await HeightmapGenerator.generate(grid);
|
||||
pack = {};
|
||||
pack = {}; // reset pack
|
||||
|
||||
markFeatures();
|
||||
markupGridOcean();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue